vp-build/srcpkgs/xcb-util-xrm/template

29 lines
803 B
Bash

# Template file for 'xcb-util-xrm'
pkgname=xcb-util-xrm
version=1.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config m4"
makedepends="xcb-util-devel libX11-devel"
short_desc="XCB utility functions for the X resource manager"
maintainer="Michael Gehring <mg@ebfe.org>"
license="MIT"
homepage="https://github.com/Airblader/xcb-util-xrm"
distfiles="https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/xcb-util-xrm-${version}.tar.gz"
checksum=c4a1d64d4a6973c649e3b6e3c418242f11e39c65d4d227d555d48f6df0558567
post_install() {
vlicense COPYING
}
xcb-util-xrm-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}