void-packages/srcpkgs/freefont-ttf/template

22 lines
696 B
Bash
Raw Normal View History

# Template file for 'freefont-ttf'
pkgname=freefont-ttf
2013-01-28 16:30:12 +00:00
version=20120503
revision=6
noarch=yes
wrksrc=freefont-${version}
hostmakedepends="unzip"
depends="font-util xbps-triggers>=0.58"
font_dirs="/usr/share/fonts/TTF"
short_desc="Free family of scalable outline fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-01-28 16:30:12 +00:00
homepage="http://www.nongnu.org/freefont/"
2014-06-06 10:52:05 +00:00
license="GPL-3"
distfiles="${GNU_SITE}/${pkgname%-ttf}/${pkgname}-${version}.zip"
2013-01-28 16:30:12 +00:00
checksum=7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af
2013-01-28 16:30:12 +00:00
do_install() {
vmkdir usr/share/fonts/TTF
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
}