diff --git a/srcpkgs/font-unifont-bdf/template b/srcpkgs/font-unifont-bdf/template new file mode 100644 index 00000000000..7048ba97ca9 --- /dev/null +++ b/srcpkgs/font-unifont-bdf/template @@ -0,0 +1,28 @@ +# Template build file for 'font-unifont'. +pkgname=font-unifont-bdf +version=5.1.20080820 +create_wrksrc=yes +homepage="http://unifoundry.com/unifont.html" +distfiles="http://unifoundry.com/unifont-${version}.bdf.gz" +build_style=custom-install +short_desc="GNU Unifont Glyphs" +maintainer="Juan RP " +license="GPL-2, Freeware" +checksum=bd3bb03b6efb6d40641f84ce70ac69bf24d1cba58b738b041648186b9c731868 +long_desc=" + This page contains GNU Unifont, with glyphs for every printable code point + in the Unicode 5.1 Basic Multilingual Plane (BMP)." + +Add_dependency full font-util + +noextract=yes +noarch=yes +font_dirs="/usr/share/fonts/misc" + +do_install() +{ + gunzip -c ${XBPS_SRCDISTDIR}/unifont-${version}.bdf.gz \ + > unifont-${version}.bdf + vinstall unifont-${version}.bdf \ + 644 usr/share/fonts/misc unifont.bdf +}