diff --git a/srcpkgs/font-fantasque-sans-ttf/template b/srcpkgs/font-fantasque-sans-ttf/template new file mode 100644 index 00000000000..c809e76c5b8 --- /dev/null +++ b/srcpkgs/font-fantasque-sans-ttf/template @@ -0,0 +1,22 @@ +# Template file for 'font-fantasque-sans-ttf' +pkgname=font-fantasque-sans-ttf +version=1.7.1 +revision=1 +create_wrksrc=yes +noarch="yes" +font_dirs="/usr/share/fonts/TTF" +depends="font-util xbps-triggers" +short_desc="A handwriting-like programming typeface" +maintainer="Kartik Singh " +license="SIL Open Font License" +homepage="https://fontlibrary.org/en/font/fantasque-sans-mono" +distfiles="https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono.tar.gz" +checksum=96112ca66ae1e1f1b1a138b965c209a46d869e65382241394b6d47936fa65380 + +do_install() { + vmkdir usr/share/fonts/TTF + vcopy *.ttf usr/share/fonts/TTF + # dos2unix + sed -i OFL.txt -e 's;\r;;g' + vlicense OFL.txt +}