void-packages/srcpkgs/libXres/template

37 lines
953 B
Plaintext

# Template build file for 'libXres'.
pkgname=libXres
version=1.0.6
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="resourceproto libXext-devel"
short_desc="X Resource Information Extension Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=ff8661c925e8b182f98ae98f02bbd93c55259ef7f34a92c1a126b6074ebde890
long_desc="
This package contains the X Resource Information Extension Library
from the modular X.org project.
X-Resource is an extension that allows a client to query the X
server about its usage of various resources."
libXres-devel_package() {
depends="xproto libXext-devel libXres>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/share
}
}
libXres_package() {
pkg_install() {
vmove usr
}
}