# Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=libxi pkgver=1.7.9 pkgrel=2 pkgdesc="X11 input extension library" url="https://www.X.Org/" arch="all" license="MIT AND X11" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="libx11-dev libxext-dev libxfixes-dev util-macros xmlto xorgproto-dev" source="https://www.X.Org/releases/individual/lib/libXi-$pkgver.tar.bz2" builddir="$srcdir"/libXi-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --with-xmlto \ --without-fop make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="9f1536944fcd232ba725addbc3afb1154c4e0df3c4380f4a54bada31371029ce3714fe0458529cd6b2787e3283f3bd35366420bca15fedfbd41f2f6b10eddce5 libXi-1.7.9.tar.bz2"