From 594849d29d845d39638957327a604d264eaa6076 Mon Sep 17 00:00:00 2001 From: adigitoleo Date: Sun, 24 Mar 2024 14:49:12 +1100 Subject: [PATCH] New package: font-fantasque-sans-otf-1.8.0 --- srcpkgs/font-fantasque-sans-otf/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/font-fantasque-sans-otf/template diff --git a/srcpkgs/font-fantasque-sans-otf/template b/srcpkgs/font-fantasque-sans-otf/template new file mode 100644 index 00000000000000..ecdc75e18fb774 --- /dev/null +++ b/srcpkgs/font-fantasque-sans-otf/template @@ -0,0 +1,21 @@ +# Template file for 'font-fantasque-sans-otf' +pkgname=font-fantasque-sans-otf +version=1.8.0 +revision=1 +create_wrksrc=yes +depends="font-util xbps-triggers" +short_desc="Handwriting-like programming typeface" +maintainer="Leon (adigitoleo) " +license="OFL-1.1" +homepage="https://fontlibrary.org/en/font/fantasque-sans-mono" +distfiles="https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono-Normal.tar.gz" +checksum=645709a54ea6fba24c926135a213d342ddb18f0f8b49f4e604b2210b73e9068a +font_dirs="/usr/share/fonts/OTF" + +do_install() { + vmkdir usr/share/fonts/OTF + vcopy OTF/*.otf usr/share/fonts/OTF + # dos2unix + sed -i LICENSE.txt -e 's;\r;;g' + vlicense LICENSE.txt +}