From 2d386b1ae51e8c8213db272b765a98a7b11932d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Tue, 7 Nov 2023 17:39:21 -0800 Subject: [PATCH] fantasque already nerdfont'd --- .../font-fantasque-sans-ttf-nerdfont/template | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/font-fantasque-sans-ttf-nerdfont/template diff --git a/srcpkgs/font-fantasque-sans-ttf-nerdfont/template b/srcpkgs/font-fantasque-sans-ttf-nerdfont/template new file mode 100644 index 0000000..53ddb7c --- /dev/null +++ b/srcpkgs/font-fantasque-sans-ttf-nerdfont/template @@ -0,0 +1,22 @@ +# Template file for 'font-fantasque-sans-ttf-nerdfont' +pkgname=font-fantasque-sans-ttf-nerdfont +version=3.0.2 +revision=1 +create_wrksrc=yes +depends="font-util xbps-triggers" +short_desc="Handwriting-like programming typeface with Nerd Icons" +maintainer="Kartik Singh " +license="OFL-1.1" +homepage="https://fontlibrary.org/en/font/fantasque-sans-mono" +distfiles="https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/FantasqueSansMono.zip" +checksum=aaa2a76df805beea647e9905e4464e72d112193e61fdc7e52c7da02d280e36c1 +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + vcopy *.ttf usr/share/fonts/TTF + # dos2unix + mv OFL.txt LICENSE.txt + sed -i LICENSE.txt -e 's;\r;;g' + vlicense LICENSE.txt +}