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

22 lines
673 B
Bash

# Template file for 'dejavu-fonts-ttf'
pkgname=dejavu-fonts-ttf
version=2.35
revision=1
noarch=yes
depends="font-util"
font_dirs="/usr/share/fonts/TTF"
short_desc="DejaVu family of TrueType fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://dejavu-fonts.org/wiki/Main_Page"
license="MIT, Public domain"
distfiles="${SOURCEFORGE_SITE}/dejavu/$pkgname-$version.tar.bz2"
checksum=f6d7965586101ff3a8a5c3ec503e082bb6a9604ff53413e10702e5917c194d88
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
vlicense LICENSE
}