void-packages/srcpkgs/xcb-util-errors/template
2018-06-21 21:06:08 -03:00

28 lines
756 B
Bash

# Template file for 'xcb-util-errors'
pkgname=xcb-util-errors
version=1.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config m4"
makedepends="libxcb-devel"
short_desc="XCB errors library"
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
license="MIT"
homepage="https://xcb.freedesktop.org"
distfiles="https://xcb.freedesktop.org/dist/${pkgname}-${version}.tar.bz2"
checksum=682681769e818ba085870d1ccd65f1f282ca16ca7d6f0f73ee70bc3642aa1995
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"
}
}