# Template file for 'libXdamage'
pkgname=libXdamage
version=1.1.7
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/libXdamage-${version}.tar.xz"
checksum=127067f521d3ee467b97bcb145aeba1078e2454d448e8748eb984d5b397bde24

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"
	}
}
