# Template build file for 'liberation-fonts-ttf'.
pkgname=liberation-fonts-ttf
version=2.00.0
revision=1
fulldepends="font-util"
short_desc="TrueType fonts from RedHat"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, ${pkgname}"
homepage="http://www.redhat.com/promo/fonts/"
distfiles="https://fedorahosted.org/releases/l/i/liberation-fonts/${pkgname}-${version}.tar.gz"
checksum=3b7214e7352b8e4990c71018031ecb0f40d6793f140d7a956d7345997c8c5100
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)."

noarch=yes
font_dirs="/usr/share/fonts/TTF"

do_install() {
	vmkdir usr/share/fonts/TTF
	install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
	vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
