summaryrefslogtreecommitdiff
path: root/user/libxtst
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 00:35:57 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 00:35:57 -0500
commit04b84e2eb4e247c595e5283f7c47816207d5619a (patch)
treea43522623a4574a23fb12d1358444bdd2c98b10e /user/libxtst
parent5eb90797c0bc2a0cf0e6ff3def393528f562e9c1 (diff)
downloadpackages-04b84e2eb4e247c595e5283f7c47816207d5619a.tar.gz
packages-04b84e2eb4e247c595e5283f7c47816207d5619a.tar.bz2
packages-04b84e2eb4e247c595e5283f7c47816207d5619a.tar.xz
packages-04b84e2eb4e247c595e5283f7c47816207d5619a.zip
user/libxtst: pull in, take, fix
Diffstat (limited to 'user/libxtst')
-rw-r--r--user/libxtst/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libxtst/APKBUILD b/user/libxtst/APKBUILD
new file mode 100644
index 000000000..f32cb1cbb
--- /dev/null
+++ b/user/libxtst/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxtst
+pkgver=1.2.3
+pkgrel=2
+pkgdesc="X11 Testing Resource extension library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=""
+depends_dev="xorgproto-dev"
+makedepends="$depends_dev libx11-dev libxext-dev libxi-dev util-macros"
+source="https://www.X.Org/releases/individual/lib/libXtst-$pkgver.tar.bz2
+ "
+builddir="$srcdir"/libXtst-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+sha512sums="6f6741fd3596775eaa056465319f78c29c91b3893a851a4899df651a2023a4d762497b112a33d7d3e8865fe85d173d03e4b49daef76a66af1ae1eaab82a12765 libXtst-1.2.3.tar.bz2"