void-packages/srcpkgs/libXi/template

31 lines
807 B
Bash

# Template file for 'libXi'
pkgname=libXi
version=1.8.1
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.xz"
checksum=89bfc0e814f288f784202e6e5f9b362b788ccecdeb078670145eacd8749656a7
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"
}
}