summaryrefslogtreecommitdiffstats
path: root/main/libxcb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxcb/APKBUILD')
-rw-r--r--main/libxcb/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/libxcb/APKBUILD b/main/libxcb/APKBUILD
new file mode 100644
index 000000000..5b6ef9119
--- /dev/null
+++ b/main/libxcb/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxcb
+pkgver=1.7
+pkgrel=2
+pkgdesc="X11 client-side library"
+url="http://xcb.freedesktop.org/"
+arch="all"
+license="custom"
+depends="xcb-proto"
+subpackages="$pkgname-dev $pkgname-doc"
+makedepends="libxdmcp-dev libxau-dev libxslt libpthread-stubs pkgconfig 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="925699df361b99491165ebc12068056b libxcb-1.7.tar.bz2"