summaryrefslogtreecommitdiffstats
path: root/main/libxtst/APKBUILD
blob: 94a1cfb113246d8bce479879f75f13069c095c55 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxtst
pkgver=1.2.0
pkgrel=1
pkgdesc="X11 Testing -- Resource extension library"
url="http://xorg.freedesktop.org/"
arch="all"
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
}

package() {
	cd "$srcdir"/libXtst-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

md5sums="7c592c72da6676f8b0aeec9133b81686  libXtst-1.2.0.tar.bz2"