void-packages/srcpkgs/libXext/template
2018-07-20 15:08:57 +02:00

30 lines
757 B
Bash

# Template build file for 'libXext'.
pkgname=libXext
version=1.3.3
revision=4
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel"
short_desc="X Extension library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35
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
}
}