void-packages/srcpkgs/libXext/template

31 lines
792 B
Bash

# Template file for 'libXext'
pkgname=libXext
version=1.3.5
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel"
short_desc="X Extension library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/xorg/lib/libxext"
distfiles="${XORG_SITE}/lib/libXext-${version}.tar.xz"
checksum=db14c0c895c57ea33a8559de8cb2b93dc76c42ea4a39e294d175938a133d7bca
post_install() {
vlicense COPYING
}
libXext-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}