vp-build/srcpkgs/libxcb/template
2015-09-07 09:50:14 +02:00

31 lines
887 B
Bash

# Template build file for 'libxcb'.
pkgname=libxcb
version=1.11.1
revision=1
build_style=gnu-configure
configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb"
hostmakedepends="automake libtool pkg-config xorg-util-macros xcb-proto"
makedepends="xcb-proto libXdmcp-devel libXau-devel"
short_desc="X protocol C-language Binding"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://xcb.freedesktop.org"
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
checksum=b720fd6c7d200e5371affdb3f049cc8f88cff9aed942ff1b824d95eedbf69d30
pre_configure() {
sed "s|pthread-stubs ||" -i configure.ac
autoreconf -fi
}
libxcb-devel_package() {
depends="${makedepends} libxcb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}