vp-build/srcpkgs/freefont-ttf/template
2014-06-06 12:52:05 +02:00

23 lines
728 B
Plaintext

# Template file for 'freefont-ttf'
pkgname=freefont-ttf
version=20120503
revision=4
noarch="yes"
wrksrc=freefont-${version}
hostmakedepends="unzip"
makedepends="font-util xbps-triggers>=0.58"
depends="${makedepends}"
font_dirs="/usr/share/fonts/TTF"
short_desc="Free family of scalable outline fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.nongnu.org/freefont/"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/freefont/${pkgname}-${version}.zip"
checksum=7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af
do_install() {
vmkdir usr/share/fonts/TTF
install -m644 ${wrksrc}/*.ttf ${DESTDIR}/usr/share/fonts/TTF
vinstall ${FILESDIR}/conf.avail 644 etc/fonts/conf.avail 69-freefont.conf
}