# Template build file for 'font-util'.
pkgname=font-util
version=1.3.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config bdftopcf"
short_desc="Tools for truncating and subseting of ISO10646-1 BDF fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/font/$pkgname-$version.tar.bz2"
checksum=dfa9e55625a4e0250f32fabab1fd5c8ffcd2d1ff2720d6fcf0f74bc8a5929195
long_desc="
 The font-util package provides ucs2any and bdftruncate tools, for
 generating  BDF fonts containing subsets of ISO 10646-1 code-points
 and generating truncated BDF font from ISO 10646-1-encoded BDF
 font. It also provides mapping-files (character set tables)
 and the fontutil pkg-config and autoconf macro files."

font-util_package() {
	#
	# These aren't really required, but this is to centralize the
	# requirement of dependent packages.
	#
	depends="font-alias expat freetype fontconfig mkfontdir mkfontscale"
	pkg_install() {
		vmove usr
	}
}