void-packages/srcpkgs/libxcb/template
2020-03-04 08:08:24 +01:00

29 lines
839 B
Bash

# Template file for 'libxcb'
pkgname=libxcb
version=1.14
revision=1
build_style=gnu-configure
configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb"
hostmakedepends="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.xz"
checksum=a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34
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"
}
}