void-packages/srcpkgs/libXres/template

30 lines
787 B
Bash

# Template build file for 'libXres'.
pkgname=libXres
version=1.2.0
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="resourceproto libXext-devel"
short_desc="X Resource Information Extension Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=ff75c1643488e64a7cfbced27486f0f944801319c84c18d3bd3da6bf28c812d4
post_install() {
vlicense COPYING
}
libXres-devel_package() {
depends="xproto ${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
}
}