1c5f4690e6
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.
26 lines
748 B
Bash
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
|
|
}
|
|
}
|