void-packages/srcpkgs/libXres/template

30 lines
741 B
Bash

# Template build file for 'libXres'.
pkgname=libXres
version=1.0.7
revision=2
build_style=gnu-configure
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=26899054aa87f81b17becc68e8645b240f140464cf90c42616ebb263ec5fa0e5
post_install() {
vlicense COPYING
}
libXres-devel_package() {
depends="xproto libXext-devel ${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
}
}