void-packages/srcpkgs/libxcb/template

35 lines
933 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="maxice8 <thinkabit.ukim@gmail.com>"
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"
}
}