void-packages/srcpkgs/dejavu-fonts-ttf/template
2013-08-26 10:05:07 +02:00

30 lines
824 B
Text

# Template file for 'dejavu-fonts-ttf'
pkgname=dejavu-fonts-ttf
version=2.34
revision=1
short_desc="DejaVu family of TrueType fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://dejavu-fonts.org/wiki/Main_Page"
license="MIT, Public domain"
distfiles="${SOURCEFORGE_SITE}/dejavu/$pkgname-$version.tar.bz2"
checksum=d0a72c3ae99f5b8d7470daf091ec43f78dc942795aed5c996ab1aa678702eb5d
makedepends="font-util xbps-triggers>=0.58"
do_install() {
vmkdir usr/share/fonts/TTF
install -m644 ttf/*.ttf ${DESTDIR}/usr/share/fonts/TTF
vmkdir etc/fonts/conf.avail
install -m644 fontconfig/*.conf ${DESTDIR}/etc/fonts/conf.avail
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
dejavu-fonts-ttf_package() {
depends="${makedepends}"
noarch="yes"
font_dirs="/usr/share/fonts/TTF"
pkg_install() {
vmove all
}
}