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

29 lines
810 B
Bash

# Template file for 'xcb-util-cursor'
pkgname=xcb-util-cursor
version=0.1.4
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="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://xcb.freedesktop.org"
distfiles="https://xcb.freedesktop.org/dist/xcb-util-cursor-${version}.tar.xz"
checksum=28dcfe90bcab7b3561abe0dd58eb6832aa9cc77cfe42fcdfa4ebe20d605231fb
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"
}
}