void-packages/srcpkgs/libXres/template

30 lines
777 B
Bash

# Template build file for 'libXres'.
pkgname=libXres
version=1.2.0
revision=2
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel"
short_desc="X Resource Information Extension Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=ff75c1643488e64a7cfbced27486f0f944801319c84c18d3bd3da6bf28c812d4
post_install() {
vlicense COPYING
}
libXres-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}