diff --git a/templates/gsfonts/template b/templates/gsfonts/template new file mode 100644 index 0000000000..82e59f6068 --- /dev/null +++ b/templates/gsfonts/template @@ -0,0 +1,22 @@ +# Template file for 'gsfonts' +pkgname=gsfonts +version=8.11 +wrksrc=fonts +distfiles="${SOURCEFORGE_SITE}/ghostscript/ghostscript-fonts-std-$version.tar.gz" +build_style=custom-install +short_desc="Ghostscript standard Type1 fonts" +maintainer="Juan RP " +checksum=0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401 +long_desc=" + This packages includes the Ghostscript standard Type1 fonts." + +font_dirs="/usr/share/fonts/Type1" +triggers="x11-fonts" + +Add_dependency full font-util + +do_install() +{ + install -d ${DESTDIR}/usr/share/fonts/Type1 + install -m644 ${wrksrc}/*.[ap]f[bm] ${DESTDIR}/usr/share/fonts/Type1 +}