void-packages/srcpkgs/libXrandr/template

27 lines
743 B
Bash

# Template build file for 'libXrandr'.
pkgname=libXrandr
version=1.5.0
revision=2
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="randrproto libXext-devel libXrender-devel"
short_desc="X RandR Library from X.org"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="${XORG_SITE}"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=6f864959b7fc35db11754b270d71106ef5b5cf363426aa58589cb8ac8266de58
libXrandr-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share
}
}