void-packages/srcpkgs/gsfonts/template

21 lines
639 B
Bash

# Template file for 'gsfonts'
pkgname=gsfonts
version=8.11
revision=5
noarch=yes
wrksrc=fonts
makedepends="font-util font-misc-misc"
depends="${makedepends}"
short_desc="Ghostscript standard Type1 fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://sourceforge.net/projects/gs-fonts/"
distfiles="${SOURCEFORGE_SITE}/ghostscript/ghostscript-fonts-std-${version}.tar.gz"
checksum=0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401
font_dirs="/usr/share/fonts/Type1"
do_install() {
vmkdir usr/share/fonts/Type1
install -m644 ${wrksrc}/*.[ap]f[bm] ${DESTDIR}/usr/share/fonts/Type1
}