void-packages/srcpkgs/libxcb/template

35 lines
930 B
Bash

# Template file for 'libxcb'
pkgname=libxcb
version=1.13.1
revision=2
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="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://xcb.freedesktop.org"
distfiles="${homepage}/dist/${pkgname}-${version}.tar.bz2"
checksum=a89fb7af7a11f43d2ce84a844a4b38df688c092bf4b67683aef179cdf2a647c4
pre_configure() {
sed "s|pthread-stubs ||" -i configure.ac
autoreconf -fi
}
post_install() {
vlicense COPYING
}
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"
}
}