void-packages/srcpkgs/libXres/template

31 lines
805 B
Bash

# Template file for 'libXres'
pkgname=libXres
version=1.2.1
revision=1
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="https://gitlab.freedesktop.org/xorg/lib/libxres"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=b6e6fb1ebb61610e56017edd928fb89a5f53b3f4f990078309877468663b2b11
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
}
}