void-packages/srcpkgs/culmus/template

22 lines
706 B
Bash

# Template file for 'culmus'
pkgname=culmus
version=0.133
revision=2
depends="font-util"
short_desc="Collection of Type1 and TrueType free Hebrew fonts"
maintainer="DirectorX <void.directorx@protonmail.com>"
license="GPL-2.0-or-later"
homepage="http://culmus.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=c0c6873742d07544f6bacf2ad52eb9cb392974d56427938dc1dfbc8399c64d05
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"
}