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