From ce14b4e45cc2ab488bf331fd11f9bdd113889eda Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Thu, 20 Oct 2016 13:16:42 -0400 Subject: [PATCH] New package: noto-fonts-ttf 20161003 (#4977) --- srcpkgs/noto-fonts-ttf/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/noto-fonts-ttf/template diff --git a/srcpkgs/noto-fonts-ttf/template b/srcpkgs/noto-fonts-ttf/template new file mode 100644 index 00000000000..491239a4d28 --- /dev/null +++ b/srcpkgs/noto-fonts-ttf/template @@ -0,0 +1,21 @@ +# Template build file for 'noto-fonts-ttf'. +pkgname=noto-fonts-ttf +version=20161003 +revision=1 +noarch="yes" +_githash=3dfd3e923e661c1bdd95ecacc04394c3e35d119e +wrksrc="noto-fonts-${_githash}" +depends="font-util" +font_dirs="/usr/share/fonts/TTF" +short_desc="TrueType fonts from Google Noto project" +maintainer="Peter Bui " +license="OFL-1.1" +homepage="https://www.google.com/get/noto/" +distfiles="https://github.com/googlei18n/noto-fonts/archive/${_githash}.tar.gz" +checksum=02075aaee1f83c876f0d9ef66563218be9871980e642aaf3beb037bee22005d2 +conflicts="google-fonts-ttf>=0" + +do_install() { + vmkdir usr/share/fonts/TTF + install -m644 hinted/Noto*.ttf ${DESTDIR}/usr/share/fonts/TTF +}