void-packages/srcpkgs/culmus/template

23 lines
715 B
Bash
Raw Normal View History

2016-08-19 14:42:05 +00:00
# Template file for 'culmus'
pkgname=culmus
version=0.130
revision=1
noarch="yes"
depends="font-util"
short_desc="A collection of Type1 and TrueType free Hebrew fonts"
maintainer="DirectorX <DirectorX@users.noreply.github.com>"
license="GPL-2"
homepage="http://culmus.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=908583e388bc983a63df4f38f7130eac69fc19539952031408bb3c627846f9c1
do_install() {
vmkdir usr/share/fonts/TTF
vmkdir usr/share/fonts/Type1
vmkdir etc/fonts/conf.avail/
install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
install -m644 *.{afm,pfa} ${DESTDIR}/usr/share/fonts/Type1
vinstall culmus.conf 644 "etc/fonts/conf.avail/61-culmus.conf"
}