void-packages/srcpkgs/libxcb/template
2018-03-05 17:42:36 +01:00

30 lines
885 B
Bash

# Template file for 'libxcb'.
pkgname=libxcb
version=1.13
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=188c8752193c50ff2dbe89db4554c63df2e26a2e47b0fa415a70918b5b851daa
pre_configure() {
sed "s|pthread-stubs ||" -i configure.ac
autoreconf -fi
}
libxcb-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}