aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libxtst/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/libxtst/APKBUILD b/main/libxtst/APKBUILD
index bfb498ac42..e6a8ed433e 100644
--- a/main/libxtst/APKBUILD
+++ b/main/libxtst/APKBUILD
@@ -1,15 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxtst
pkgver=1.2.3
-pkgrel=0
+pkgrel=1
pkgdesc="X11 Testing -- Resource extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
+options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
-depends_dev="recordproto libx11-dev libxext-dev inputproto libxi-dev"
-makedepends="$depends_dev"
+depends_dev="inputproto"
+makedepends="$depends_dev recordproto libx11-dev libxext-dev libxi-dev
+ util-macros"
source="http://www.x.org/releases/individual/lib/libXtst-$pkgver.tar.bz2
"
@@ -22,14 +24,13 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}