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

29 lines
780 B
Bash

# Template file for 'xcb-util-errors'
pkgname=xcb-util-errors
version=1.0.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config m4 python3"
makedepends="libxcb-devel xcb-proto"
short_desc="XCB errors library"
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
license="MIT"
homepage="https://xcb.freedesktop.org"
distfiles="https://xcb.freedesktop.org/dist/xcb-util-errors-${version}.tar.xz"
checksum=5628c87b984259ad927bacd8a42958319c36bdf4b065887803c9d820fb80f357
post_install() {
vlicense COPYING
}
xcb-util-errors-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}