diff --git a/srcpkgs/fonts-croscore-ttf/template b/srcpkgs/fonts-croscore-ttf/template new file mode 100644 index 0000000000..080cdcdc92 --- /dev/null +++ b/srcpkgs/fonts-croscore-ttf/template @@ -0,0 +1,21 @@ +# Template build file for 'fonts-croscore-ttf'. +pkgname=fonts-croscore-ttf +version=1.23.0 +revision=1 +makedepends="font-util xbps-triggers>=0.58" +depends="${makedepends}" +noarch="yes" +font_dirs="/usr/share/fonts/TTF" +short_desc="TrueType fonts from Google" +maintainer="Carlo Dormeletti " +license="apache" +homepage="http://www.google.com/fonts/" +distfiles="http://gsdview.appspot.com/chromeos-localmirror/distfiles/croscorefonts-${version}.tar.gz" +checksum=3b7214e7352b8e4990c71018031ecb0f40d6793f140d7a956d7345997c8c5100 + +do_install() { + vmkdir usr/share/fonts/TTF + install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF + + #vinstall LICENSE 644 usr/share/licenses/${pkgname} +}