APKBUILD 760 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcb
Natanael Copa's avatar
Natanael Copa committed
3
pkgver=1.4
Natanael Copa's avatar
Natanael Copa committed
4
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6 7
pkgdesc="X11 client-side library"
url="http://xcb.freedesktop.org/"
license="custom"
8
depends="xcb-proto libxdmcp libxau uclibc"
Natanael Copa's avatar
Natanael Copa committed
9
subpackages="$pkgname-dev $pkgname-doc"
Natanael Copa's avatar
Natanael Copa committed
10
makedepends="g++ libxdmcp-dev libxau-dev libxslt libpthread-stubs pkgconfig python"
Natanael Copa's avatar
Natanael Copa committed
11 12
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2
	"
13
depends_dev="libpthread-stubs libxau-dev libxdmcp-dev"
14

Natanael Copa's avatar
Natanael Copa committed
15 16 17 18 19 20 21 22
build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--enable-xinput || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
Natanael Copa's avatar
Natanael Copa committed
23
md5sums="b00fd506c717dea01f595e8da31f6914  libxcb-1.4.tar.bz2"