From a0e65ca278a4705dfd8e3536f58044be9df3a7af Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 17 Nov 2016 08:27:10 +0100 Subject: [PATCH] New package: font-go-ttf-0.0.20161117 --- srcpkgs/font-go-ttf/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/font-go-ttf/template diff --git a/srcpkgs/font-go-ttf/template b/srcpkgs/font-go-ttf/template new file mode 100644 index 00000000000..3ff31a198ff --- /dev/null +++ b/srcpkgs/font-go-ttf/template @@ -0,0 +1,20 @@ +# Template file for 'font-go-ttf' +pkgname=font-go-ttf +version=0.0.20161117 +revision=1 +_gitrev=b7f8df6bc082334698d4505fb85fa05e99156b72 +wrksrc="image-${_gitrev}" +short_desc="A typeface designed for go source code" +maintainer="Michael Gehring " +license="GPL-3" +homepage="https://blog.golang.org/go-fonts" +distfiles="https://github.com/golang/image/archive/${_gitrev}.tar.gz" +checksum=41c620e40e47c3912ca87b4488b8936b6773761bc2388f0797b39cf5a6ad77e1 + +do_install() { + cd font/gofont/ttfs + for f in *.ttf; do + vinstall $f 0644 /usr/share/fonts/TTF + done + vlicense README +}