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

22 lines
676 B
Bash

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