# Template build file for 'libXfont'.
pkgname=libXfont
version=1.5.0
revision=1
hostmakedepends="pkg-config"
makedepends="xproto xtrans fontcacheproto fontsproto freetype-devel libfontenc-devel"
build_style=gnu-configure
short_desc="X font Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=3a3c52c4adf9352b2160f07ff0596af17ab14f91d6509564e606678a1261c25f

post_install() {
	vinstall COPYING 644 usr/share/licenses/${pkgname}
}

libXfont-devel_package() {
	depends="${makedepends} libXfont>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
