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

29 lines
831 B
Bash

# Template file for 'xcb-util-image'
pkgname=xcb-util-image
version=0.4.1
revision=1
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="André Cerqueira <acerqueira021@gmail.com>"
license="X11"
homepage="https://gitlab.freedesktop.org/xorg/lib/libxcb-image"
distfiles="https://xcb.freedesktop.org/dist/xcb-util-image-${version}.tar.xz"
checksum=ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d
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"
}
}