aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxcb/APKBUILD
blob: 786a8e243891d2deb835d52397eaf7e188e25187 (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=libxcb
pkgver=1.8.1
pkgrel=0
pkgdesc="X11 client-side library"
url="http://xcb.freedesktop.org/"
arch="all"
license="custom"
depends=
subpackages="$pkgname-dev $pkgname-doc"
makedepends="xcb-proto libxdmcp-dev libxau-dev libxslt libpthread-stubs python"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2
	"
depends_dev="libpthread-stubs libxau-dev libxdmcp-dev"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--enable-xinput || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="9da03df9e2f4c048202920d9f6a7e123  libxcb-1.8.1.tar.bz2"