From 00b70bafb169e3e9cf7164b7616b36a74d4711f9 Mon Sep 17 00:00:00 2001 From: Hervy Qurrotul Ainur Rozi Date: Mon, 2 Aug 2021 10:46:53 +0700 Subject: [PATCH] New package: ttf-opensans-3.000_1 --- srcpkgs/ttf-opensans/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/ttf-opensans/template diff --git a/srcpkgs/ttf-opensans/template b/srcpkgs/ttf-opensans/template new file mode 100644 index 000000000000..b42ce1f43d6f --- /dev/null +++ b/srcpkgs/ttf-opensans/template @@ -0,0 +1,19 @@ +# Template file for 'ttf-opensans' +pkgname=ttf-opensans +version=3.000 +revision=1 +_githash=c071e9696751f2d69925d66f3b8c581f2dc041c2 +wrksrc="opensans-${_githash}" +depends="font-util" +short_desc="Clean and modern sans-serif typeface" +maintainer="Hervy Qurrotul Ainur Rozi " +license="Apache-2.0" +homepage="https://fonts.google.com/specimen/Open+Sans" +distfiles="https://github.com/googlefonts/opensans/archive/${_githash}.tar.gz" +checksum=fcbeae8c630a9afe2b6722c86a77788e549c353bea8cf7fbbc2e3f2fdacabcb7 +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + find fonts/ttf/ -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \; +}