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

21 lines
667 B
Bash

# Template file for 'dejavu-fonts-ttf'
pkgname=dejavu-fonts-ttf
version=2.37
revision=2
depends="font-util"
short_desc="DejaVu family of TrueType fonts"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, custom:Public Domain"
homepage="https://dejavu-fonts.github.io/"
distfiles="${SOURCEFORGE_SITE}/dejavu/${pkgname}-${version}.tar.bz2"
checksum=fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7
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
vlicense LICENSE
}