aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxi/APKBUILD')
-rw-r--r--main/libxi/APKBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/main/libxi/APKBUILD b/main/libxi/APKBUILD
index 3f2c83d016..5d0d56258b 100644
--- a/main/libxi/APKBUILD
+++ b/main/libxi/APKBUILD
@@ -1,24 +1,29 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxi
pkgver=1.7.9
-pkgrel=0
+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=
-depends_dev="inputproto libx11-dev libxext-dev libxfixes-dev"
makedepends="
- $depends_dev
+ 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 () {
+build() {
cd "$builddir"
./configure \
--build=$CBUILD \
@@ -27,13 +32,14 @@ build () {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
- || return 1
- make || return 1
+ --with-xmlto \
+ --without-fop
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}