void-packages/srcpkgs/dejavu-fonts-ttf/template

30 lines
824 B
Text

# Template file for 'dejavu-fonts-ttf'
pkgname=dejavu-fonts-ttf
version=2.33
revision=6
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=82a5823a270715913af51915cc20594568f57afb7450abb989695d8808a4194d
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 usr
}
}