# Template build file for 'libXi'.
pkgname=libXi
version=1.7.6
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config xmlto"
makedepends="inputproto libXfixes-devel libXext-devel"
short_desc="X Input extension library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=1f32a552cec0f056c0260bdb32e853cec0673d2f40646ce932ad5a9f0205b7ac

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