summaryrefslogtreecommitdiff
path: root/user/libxi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libxi/APKBUILD')
-rw-r--r--user/libxi/APKBUILD41
1 files changed, 41 insertions, 0 deletions
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 <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"