void-packages/srcpkgs/xcb-util-wm/template

28 lines
786 B
Bash

# Template file for 'xcb-util-wm'
pkgname=xcb-util-wm
version=0.4.2
revision=1
build_style=gnu-configure
hostmakedepends="m4 pkg-config"
makedepends="libxcb-devel xcb-util-devel"
short_desc="Utility libraries for XC Binding - window-manager helpers for ICCCM"
maintainer="Orphaned <orphan@voidlinux.org>"
license="X11"
homepage="https://xcb.freedesktop.org"
distfiles="https://xcb.freedesktop.org/dist/$pkgname-$version.tar.xz"
checksum=62c34e21d06264687faea7edbf63632c9f04d55e72114aa4a57bb95e4f888a0b
post_install() {
vlicense COPYING LICENSE
}
xcb-util-wm-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}