aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxtst
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-10 01:25:00 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:53:38 +0000
commite52c525b4a9379228fe6d3b93c0d45fb0e140d84 (patch)
tree40d706bebe5c1d808cd29bd02d3e628dbef212a9 /main/libxtst
parent399459fa817e5ee2741d47ad4cf7ac0949498fcd (diff)
downloadaports-e52c525b4a9379228fe6d3b93c0d45fb0e140d84.tar.bz2
aports-e52c525b4a9379228fe6d3b93c0d45fb0e140d84.tar.xz
main/libxtst: modernise, fix deps, no test
Diffstat (limited to 'main/libxtst')
-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
}