void-packages/srcpkgs/libX11/template

32 lines
894 B
Bash

# Template file for 'libX11'
pkgname=libX11
version=1.8.9
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
--enable-static --enable-malloc0returnsnull"
hostmakedepends="pkg-config xorg-util-macros xorgproto"
makedepends="xorgproto xtrans libxcb-devel"
short_desc="Base X libraries from Xorg"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/xorg/lib/libx11"
distfiles="${XORG_SITE}/lib/libX11-${version}.tar.xz"
checksum=779d8f111d144ef93e2daa5f23a762ce9555affc99592844e71c4243d3bd3262
post_install() {
vlicense COPYING
}
libX11-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/share/man/man3
}
}