void-packages/srcpkgs/libXrandr/template

32 lines
788 B
Plaintext

# Template build file for 'libXrandr'.
pkgname=libXrandr
version=1.4.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="randrproto>=1.4.0 libXext-devel libXrender-devel"
short_desc="X RandR Library from X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="${XORG_SITE}"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=d914a0490fd0a2ea6c3194505b5b28c56e2a277d8f4648b0275ee0ee370fb905
libXrandr-devel_package() {
depends="libXext-devel libXrender-devel randrproto>=1.4.0
${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share
}
}
libXrandr_package() {
pkg_install() {
vmove usr
}
}