void-packages/srcpkgs/libXrandr/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

26 lines
748 B
Bash

# Template build file for 'libXrandr'.
pkgname=libXrandr
version=1.4.2
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="randrproto 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=caa7b31ac769be51a532343c65376f1d4df3f307afaed58e34fb5e82e8b825ad
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/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}