# Template build for 'xcb-util-image'.
pkgname=xcb-util-image
version=0.4.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="xcb-util-devel"
short_desc="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xcb.freedesktop.org"
license="GPL-2"
distfiles="http://xcb.freedesktop.org/dist/$pkgname-$version.tar.bz2"
checksum=2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc

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