# 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"
fulldepends="font-util"
revision=1
short_desc="GNU Unifont Glyphs"
maintainer="Juan RP <xtraeme@gmail.com>"
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)."


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
}