From e61b25da98062e5769515666da077587489f62c4 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 Jul 2018 04:20:38 -0500 Subject: user/libxi: pull in, take, fix --- user/libxi/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 user/libxi/APKBUILD (limited to 'user') diff --git a/user/libxi/APKBUILD b/user/libxi/APKBUILD new file mode 100644 index 000000000..ecc5c72a0 --- /dev/null +++ b/user/libxi/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2