From caaa23233aace36f90ea858fe17c763e8bad6c67 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sun, 13 Sep 2015 10:25:29 -0300 Subject: [PATCH] New package: font-hack-ttf-2.013 --- srcpkgs/font-hack-ttf/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/font-hack-ttf/template diff --git a/srcpkgs/font-hack-ttf/template b/srcpkgs/font-hack-ttf/template new file mode 100644 index 00000000000..68135f0c2a2 --- /dev/null +++ b/srcpkgs/font-hack-ttf/template @@ -0,0 +1,25 @@ +# Template file for 'font-hack-ttf' +pkgname=font-hack-ttf +version=2.013 +revision=1 +wrksrc=Hack-${version} +noarch="yes" +short_desc="A typeface designed for source code" +maintainer="Diogo Leal " +license="Hack Open Font License" +depends="font-util xbps-triggers" +hostmakedepends="unzip" +font_dirs="/usr/share/fonts/TTF" +homepage="http://sourcefoundry.org/hack/" +distfiles="https://github.com/chrissimpkins/Hack/archive/v${version}.tar.gz" +checksum=9fe8cf97610c4c8493f2d4732b037dfa4a9a155e0f0e99cb561c16aecff24dff + +do_install() { + vmkdir usr/share/fonts/TTF + vinstall build/ttf/Hack-Bold.ttf 644 usr/share/fonts/TTF + vinstall build/ttf/Hack-BoldItalic.ttf 644 usr/share/fonts/TTF + vinstall build/ttf/Hack-Italic.ttf 644 usr/share/fonts/TTF + vinstall build/ttf/Hack-Regular.ttf 644 usr/share/fonts/TTF + vlicense LICENSE.md +} +