From f5e875907d769862cec5fb8fb2509827a4e1bf7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 31 Dec 2017 22:58:16 +0100 Subject: [PATCH] New package: font-fantasque-sans-ttf Closes: #9961 --- srcpkgs/font-fantasque-sans-ttf/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/font-fantasque-sans-ttf/template 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 +}