void-packages/srcpkgs/libXi/template

31 lines
802 B
Bash

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