summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 04:20:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 04:20:38 -0500
commite61b25da98062e5769515666da077587489f62c4 (patch)
tree62dab9289205a8a98519961f7f76ad19e5454984
parenta84b69a6dad936d504dd0f418abb6909ae7958ea (diff)
downloadpackages-e61b25da98062e5769515666da077587489f62c4.tar.gz
packages-e61b25da98062e5769515666da077587489f62c4.tar.bz2
packages-e61b25da98062e5769515666da077587489f62c4.tar.xz
packages-e61b25da98062e5769515666da077587489f62c4.zip
user/libxi: pull in, take, fix
-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"