void-packages/srcpkgs/libXxf86misc/template

30 lines
806 B
Bash

# Template file for 'libXxf86misc'
pkgname=libXxf86misc
version=1.0.4
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel libXext-devel"
short_desc="Library for the XFree86-Misc X extension"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Orphaned <orphan@voidlinux.org>"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=a89c03e2b0f16239d67a2031b9003f31b5a686106bbdb3c797fb88ae472af380
post_install() {
vlicense COPYING
}
libXxf86misc-devel_package() {
depends="xorgproto 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
}
}