aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxtst/APKBUILD
blob: 7dc94eb13597a9b13546cbd8e8d88f31ef6eca7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxtst
pkgver=1.2.3
pkgrel=2
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="xorgproto"
makedepends="$depends_dev libx11-dev libxext-dev libxi-dev util-macros
	xorgproto"
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
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

md5sums="ef8c2c1d16a00bd95b9fdcef63b8a2ca  libXtst-1.2.3.tar.bz2"
sha256sums="4655498a1b8e844e3d6f21f3b2c4e2b571effb5fd83199d428a6ba7ea4bf5204  libXtst-1.2.3.tar.bz2"
sha512sums="6f6741fd3596775eaa056465319f78c29c91b3893a851a4899df651a2023a4d762497b112a33d7d3e8865fe85d173d03e4b49daef76a66af1ae1eaab82a12765  libXtst-1.2.3.tar.bz2"