void-packages/srcpkgs/libXcomposite/template

30 lines
749 B
Bash

# Template file for 'libXcomposite'
pkgname=libXcomposite
version=0.4.6
revision=1
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/${pkgname}-${version}.tar.xz"
checksum=fe40bcf0ae1a09070eba24088a5eb9810efe57453779ec1e20a55080c6dc2c87
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
}
}