# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxi pkgver=1.7.9 pkgrel=1 pkgdesc="X11 Input extension library" url="http://xorg.freedesktop.org" arch="all" license="custom" options="!check" # No test suite. subpackages="$pkgname-dev $pkgname-doc" depends= makedepends=" inputproto libx11-dev libxext-dev libxfixes-dev pkgconfig util-macros xextproto xmlto xproto " source="http://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 } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="1f0f2719c020655a60aee334ddd26d67 libXi-1.7.9.tar.bz2" sha256sums="c2e6b8ff84f9448386c1b5510a5cf5a16d788f76db018194dacdc200180faf45 libXi-1.7.9.tar.bz2" sha512sums="9f1536944fcd232ba725addbc3afb1154c4e0df3c4380f4a54bada31371029ce3714fe0458529cd6b2787e3283f3bd35366420bca15fedfbd41f2f6b10eddce5 libXi-1.7.9.tar.bz2"