void-packages/srcpkgs/freefont-ttf/template

22 lines
704 B
Bash

# Template file for 'freefont-ttf'
pkgname=freefont-ttf
version=20120503
revision=7
noarch=yes
wrksrc="freefont-${version}"
hostmakedepends="unzip"
depends="font-util xbps-triggers>=0.58"
short_desc="Free family of scalable outline fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="http://www.nongnu.org/freefont/"
distfiles="${GNU_SITE}/freefont/freefont-ttf-${version}.zip"
checksum=7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af
font_dirs="/usr/share/fonts/TTF"
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
}