From 77b6d2f2feb8b96b164c624364b8124c955c24a5 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 30 Jul 2015 15:37:01 +0200 Subject: [PATCH] New package: ttf-ubuntu-font-family-0.80 --- srcpkgs/ttf-ubuntu-font-family/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/ttf-ubuntu-font-family/template diff --git a/srcpkgs/ttf-ubuntu-font-family/template b/srcpkgs/ttf-ubuntu-font-family/template new file mode 100644 index 00000000000..35e758300a9 --- /dev/null +++ b/srcpkgs/ttf-ubuntu-font-family/template @@ -0,0 +1,22 @@ +# Template file for 'ttf-ubuntu-font-family' +pkgname=ttf-ubuntu-font-family +version=0.80 +revision=1 +wrksrc=ubuntu-font-family-$version +noarch=yes +hostmakedepends="unzip" +depends="font-util" +font_dirs="/usr/share/fonts/TTF" +short_desc="Ubuntu font family" +maintainer="Andrea Brancaleoni " +license="custom" +homepage="http://font.ubuntu.com/" +distfiles="http://font.ubuntu.com/download/ubuntu-font-family-$version.zip" +checksum=107170099bbc3beae8602b97a5c423525d363106c3c24f787d43e09811298e4c + +do_install() { + vmkdir usr/share/fonts/TTF + install -m644 Ubuntu-{L,R,B,C}*.ttf ${DESTDIR}/usr/share/fonts/TTF + install -m644 UbuntuMono-*.ttf ${DESTDIR}/usr/share/fonts/TTF + vlicense LICENCE.txt +}