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

24 lines
754 B
Bash

# 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@voidlinux.eu>"
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"
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}
}