void-packages/srcpkgs/libXrandr/template

31 lines
795 B
Bash

# Template file for 'libXrandr'
pkgname=libXrandr
version=1.5.4
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel libXrender-devel"
short_desc="X RandR Library from X.org"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.x.org/"
distfiles="${XORG_SITE}/lib/libXrandr-${version}.tar.xz"
checksum=1ad5b065375f4a85915aa60611cc6407c060492a214d7f9daf214be752c3b4d3
post_install() {
vlicense COPYING
}
libXrandr-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/man/man3
}
}