From 655e3ceec9efbf8dcf1336732be3bb174e19f26c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 9 May 2010 20:00:05 +0200 Subject: [PATCH] Added freefont-ttf-20090104 build template. --- srcpkgs/freefont-ttf/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/freefont-ttf/template diff --git a/srcpkgs/freefont-ttf/template b/srcpkgs/freefont-ttf/template new file mode 100644 index 0000000000..04d1dfa96b --- /dev/null +++ b/srcpkgs/freefont-ttf/template @@ -0,0 +1,24 @@ +# Template file for 'freefont-ttf' +pkgname=freefont-ttf +version=20090104 +wrksrc=freefont-${version} +distfiles="http://ftp.gnu.org/gnu/freefont/${pkgname}-${version}.tar.gz" +build_style=custom-install +short_desc="Free family of scalable outline fonts" +maintainer="Juan RP " +checksum=2b8e7164b0c362d5c5e90275b25772514d76d5fda3d54c026445611e467d638e +long_desc=" + GNU FreeFont is a free family of scalable outline fonts, suitable for + general use on computers and for desktop publishing. It is Unicode-encoded + for compatibility with all modern operating systems." + +noarch=yes +font_dirs="/usr/share/fonts/TTF" + +Add_dependency full font-util + +do_install() +{ + install -d ${DESTDIR}/usr/share/fonts/TTF + install -m644 ${wrksrc}/*.ttf ${DESTDIR}/usr/share/fonts/TTF +}