2010-05-09 18:00:05 +00:00
|
|
|
# Template file for 'freefont-ttf'
|
|
|
|
pkgname=freefont-ttf
|
2013-01-28 16:30:12 +00:00
|
|
|
version=20120503
|
2013-01-29 09:27:30 +00:00
|
|
|
revision=3
|
2010-05-09 18:00:05 +00:00
|
|
|
wrksrc=freefont-${version}
|
2013-04-12 09:16:02 +00:00
|
|
|
hostmakedepends="unzip"
|
|
|
|
makedepends="font-util xbps-triggers>=0.58"
|
2010-05-09 18:00:05 +00:00
|
|
|
short_desc="Free family of scalable outline fonts"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-28 16:30:12 +00:00
|
|
|
homepage="http://www.nongnu.org/freefont/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/freefont/${pkgname}-${version}.zip"
|
|
|
|
checksum=7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af
|
2010-05-09 18:00:05 +00:00
|
|
|
|
2013-01-28 16:30:12 +00:00
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/fonts/TTF
|
2010-05-09 18:00:05 +00:00
|
|
|
install -m644 ${wrksrc}/*.ttf ${DESTDIR}/usr/share/fonts/TTF
|
2013-01-28 16:30:12 +00:00
|
|
|
vinstall ${FILESDIR}/conf.avail 644 etc/fonts/conf.avail 69-freefont.conf
|
2010-05-09 18:00:05 +00:00
|
|
|
}
|
2013-04-12 09:16:02 +00:00
|
|
|
|
|
|
|
freefont-ttf_package() {
|
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
|
|
|
font_dirs="/usr/share/fonts/TTF"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|