aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxtst
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxtst')
-rw-r--r--main/libxtst/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/libxtst/APKBUILD b/main/libxtst/APKBUILD
new file mode 100644
index 0000000000..c1e9c4b60a
--- /dev/null
+++ b/main/libxtst/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxtst
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="X11 Testing -- Resource extension library"
+url="http://xorg.freedesktop.org/"
+license="custom"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+makedepends="pkgconfig libxext-dev libxi-dev recordproto inputproto"
+source="http://xorg.freedesktop.org/releases/individual/lib/libXtst-$pkgver.tar.bz2"
+depends_dev="recordproto libx11-dev libxext-dev inputproto libxi-dev"
+
+build ()
+{
+ cd "$srcdir"/libXtst-$pkgver
+ ./configure --prefix=/usr \
+ --build=${CHOST} --host=${CHOST}
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+md5sums="dd6f3e20b87310187121539f9605d977 libXtst-1.1.0.tar.bz2"