summaryrefslogtreecommitdiff
path: root/user/libxtst/APKBUILD
blob: 9a933e9879e7b41b595eabf8eb7d34922dfe14fd (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
# 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"
depends=""
makedepends="libx11-dev libxext-dev libxi-dev util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXtst-$pkgver.tar.bz2"
builddir="$srcdir"/libXtst-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="6f6741fd3596775eaa056465319f78c29c91b3893a851a4899df651a2023a4d762497b112a33d7d3e8865fe85d173d03e4b49daef76a66af1ae1eaab82a12765  libXtst-1.2.3.tar.bz2"