# Template file for 'libXcomposite'
pkgname=libXcomposite
version=0.4.7
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXfixes-devel"
short_desc="X Composite Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="X11"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/libXcomposite-${version}.tar.xz"
checksum=8bdf310967f484503fa51714cf97bff0723d9b673e0eecbf92b3f97c060c8ccb

post_install() {
	vlicense COPYING
}

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