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

29 lines
805 B
Bash

# Template build for 'xcb-util-cursor'.
pkgname=xcb-util-cursor
version=0.1.3
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config gperf m4"
makedepends="xcb-util-renderutil-devel xcb-util-image-devel"
short_desc="XCB cursor library (libxcursor port)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xcb.freedesktop.org"
license="MIT"
distfiles="http://xcb.freedesktop.org/dist/${pkgname}-${version}.tar.bz2"
checksum=05a10a0706a1a789a078be297b5fb663f66a71fb7f7f1b99658264c35926394f
post_install() {
vlicense COPYING
}
xcb-util-cursor-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}