vp-build/srcpkgs/dejavu-fonts-ttf/template

25 lines
757 B
Plaintext

# Template file for 'dejavu-fonts-ttf'
pkgname=dejavu-fonts-ttf
version=2.34
revision=2
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"
depends="${makedepends}"
noarch="yes"
font_dirs="/usr/share/fonts/TTF"
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}
}