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 +}