From d60bbd1230499ed3ae25f3f9adba09b29af2fed6 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sun, 20 Dec 2015 22:07:40 -0200 Subject: [PATCH] New package: font-fira-otf-4.202 --- srcpkgs/font-fira-otf/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/font-fira-otf/template diff --git a/srcpkgs/font-fira-otf/template b/srcpkgs/font-fira-otf/template new file mode 100644 index 00000000000..4fe553f4571 --- /dev/null +++ b/srcpkgs/font-fira-otf/template @@ -0,0 +1,23 @@ +# Template file for 'font-fira-otf +pkgname=font-fira-otf +version=4.202 +revision=1 +wrksrc=Fira-${version} +noarch="yes" +depends="font-util xbps-triggers" +font_dirs="/usr/share/fonts/OTF" +short_desc="Mozilla's new typeface OTF, used in Firefox OS" +maintainer="Diogo Leal " +license="OFL-1.1" +homepage="http://mozilla.github.io/Fira/" +distfiles="https://github.com/mozilla/Fira/archive/${version}.tar.gz" +checksum=d86269657387f144d77ba12011124f30f423f70672e1576dc16f918bb16ddfe4 + +do_install() { + vmkdir usr/share/fonts/OTF + + for files in otf/*.otf; do + vinstall ${files} 0644 \ + /usr/share/fonts/OTF/ + done +}