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

29 lines
796 B
Bash

# Template file for 'xcb-util-image'
pkgname=xcb-util-image
version=0.4.0
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="xcb-util-devel"
short_desc="Utility libraries for XCB - XImage and XShmImage functions"
maintainer="Orphaned <orphan@voidlinux.org>"
license="X11"
homepage="https://xcb.freedesktop.org"
distfiles="https://xcb.freedesktop.org/dist/xcb-util-image-${version}.tar.bz2"
checksum=2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc
post_install() {
vlicense COPYING LICENSE
}
xcb-util-image-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}