# Template file for 'gsfonts'
pkgname=gsfonts
version=8.11
revision=2
wrksrc=fonts
distfiles="${SOURCEFORGE_SITE}/ghostscript/ghostscript-fonts-std-$version.tar.gz"
makedepends="font-util"
short_desc="Ghostscript standard Type1 fonts"
homepage="http://sourceforge.net/projects/gs-fonts/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401
long_desc="
 This packages includes the Ghostscript standard Type1 fonts."

do_install() {
	install -d ${DESTDIR}/usr/share/fonts/Type1
	install -m644 ${wrksrc}/*.[ap]f[bm] ${DESTDIR}/usr/share/fonts/Type1
}

gsfonts_package() {
	depends="font-util"
	noarch="yes"
	font_dirs="/usr/share/fonts/Type1"
	pkg_install() {
		vmove usr
	}
}
