void-packages/srcpkgs/xcb-util-wm/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

24 lines
765 B
Bash

# Template build for 'xcb-util-wm'.
pkgname=xcb-util-wm
version=0.4.1
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="m4 pkg-config"
makedepends="libxcb-devel xcb-util-devel"
short_desc="Utility libraries for XC Binding - client and window-manager helpers for ICCCM"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xcb.freedesktop.org"
license="GPL-2"
distfiles="http://xcb.freedesktop.org/dist/$pkgname-$version.tar.bz2"
checksum=28bf8179640eaa89276d2b0f1ce4285103d136be6c98262b6151aaee1d3c2a3f
xcb-util-wm-devel_package() {
depends="libxcb-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}