void-packages/srcpkgs/libXcomposite/template

30 lines
753 B
Bash

# Template file for 'libXcomposite'
pkgname=libXcomposite
version=0.4.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXfixes-devel"
short_desc="X Composite Library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="X11"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=b3218a2c15bab8035d16810df5b8251ffc7132ff3aa70651a1fba0bfe9634e8f
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
}
}