void-packages/srcpkgs/xcb-util/template

29 lines
793 B
Bash

# Template file for 'xcb-util'
pkgname=xcb-util
version=0.4.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config gperf"
makedepends="libxcb-devel"
short_desc="XCB utilities library"
maintainer="André Cerqueira <acerqueira021@gmail.com>"
license="X11"
homepage="https://gitlab.freedesktop.org/xorg/lib/libxcb-util"
distfiles="https://xorg.freedesktop.org/archive/individual/lib/xcb-util-${version}.tar.xz"
checksum=5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512
post_install() {
vlicense COPYING LICENSE
}
xcb-util-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}