# Template file for 'libXfont2'
pkgname=libXfont2
version=2.0.6
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto xtrans freetype-devel libfontenc-devel"
short_desc="X font 2 Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
checksum=74ca20017eb0fb3f56d8d5e60685f560fc85e5ff3d84c61c4cb891e40c27aef4

post_install() {
	vlicense COPYING
}

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