diff --git a/srcpkgs/liberation-fonts-ttf/template b/srcpkgs/liberation-fonts-ttf/template new file mode 100644 index 00000000000..c59496d5821 --- /dev/null +++ b/srcpkgs/liberation-fonts-ttf/template @@ -0,0 +1,28 @@ +# Template build file for 'liberation-fonts-ttf'. +pkgname=liberation-fonts-ttf +version=1.07.1 +homepage="http://www.redhat.com/promo/fonts/" +distfiles="https://fedorahosted.org/releases/l/i/${pkgname%-ttf}/$pkgname-$version.tar.gz" +short_desc="TrueType fonts from RedHat" +maintainer="Juan RP " +license="GPL-2, ${pkgname}" +checksum=de646f7dc38ce0941247ba694a1a8372e0b7c2d79478e1ec83b67ac8d0e92d48 +long_desc=" + On May 9, 2007, Red Hat announced the public release of these fonts + under the trademark LIBERATION at the Red Hat Summit. There are three + sets: Sans (a substitute for Arial, Albany, Helvetica, Nimbus Sans L, + and Bitstream Vera Sans), Serif (a substitute for Times New Roman, + Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono (a + substitute for Courier New, Cumberland, Courier, Nimbus Mono L, + and Bitstream Vera Sans Mono)." + +Add_dependency full font-util + +noarch=yes +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF + vinstall COPYING 644 usr/share/licenses/${pkgname} +}