void-packages/srcpkgs/libXxf86misc/template
2017-08-01 21:42:49 +00:00

29 lines
850 B
Bash

# Template build file for 'libXxf86misc'.
pkgname=libXxf86misc
version=1.0.3
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xproto xextproto xf86miscproto libX11-devel libXext-devel"
short_desc="Library for the XFree86-Misc X extension"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=563f4200862efd3334c33a669e0a0aae5bab31f3998db75b87a99a697cc26b5b
post_install() {
vlicense COPYING
}
libXxf86misc-devel_package() {
depends="xproto xextproto xf86miscproto libX11-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}