# Template file for 'libXdamage'
pkgname=libXdamage
version=1.1.6
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXfixes-devel"
short_desc="Xdamage extension Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="X11"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
checksum=52733c1f5262fca35f64e7d5060c6fcd81a880ba8e1e65c9621cf0727afb5d11

post_install() {
	vlicense COPYING
}

libXdamage-devel_package() {
	depends="xorgproto libX11-devel libXfixes-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
