# Template build file for 'libXp'.
pkgname=libXp
version=1.0.3
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="printproto libXext-devel"
short_desc="X Print Service Extension Library"
homepage="http://xorg.freedesktop.org"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
checksum=7f360c9905849c3587d48efc0f0ecbc852c19f61a52b18530d6b005cb9148c57

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