From 1c652a3874a3c032a1f5b71f0c9e94ae00882995 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Wed, 15 Jul 2015 15:02:43 +0200 Subject: [PATCH] New package: font-fontin-0.0.20151027 --- srcpkgs/font-fontin/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/font-fontin/template diff --git a/srcpkgs/font-fontin/template b/srcpkgs/font-fontin/template new file mode 100644 index 00000000000..043dbe1df3c --- /dev/null +++ b/srcpkgs/font-fontin/template @@ -0,0 +1,28 @@ +# Template build file for 'font-fontin'. +pkgname=font-fontin +version=0.0.20151027 +revision=1 +noarch="yes" +hostmakedepends="unzip" +depends="font-util" +font_dirs="/usr/share/fonts/OTF/" +short_desc="A font designed to be used at small sizes" +homepage="http://www.exljbris.com" +license="EULA:$homepage/eula.html" +maintainer="Andrea Brancaleoni " +distfiles="$homepage/dl/fontin_pc.zip +$homepage/dl/FontinSans_49.zip" +checksum="ddbb4ba57d0ab7d1af9d511de8e68d0fab9beec0c03eaf9c968f180b96100aa7 +8b04ea509ec5fa8ddf921c94ba1824130071d16b7f83b09bc257b9311ff65a6e" + +create_wrksrc=yes +restricted=yes + +do_install() { + vmkdir usr/share/fonts/OTF/ + vcopy *.otf usr/share/fonts/OTF +} + +post_install() { + rm -f ${DESTDIR}/${font_dirs}/fonts.* +}