summaryrefslogtreecommitdiff
path: root/user/libxcb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libxcb/APKBUILD')
-rw-r--r--user/libxcb/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libxcb/APKBUILD b/user/libxcb/APKBUILD
new file mode 100644
index 000000000..fa3e90c6b
--- /dev/null
+++ b/user/libxcb/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxcb
+pkgver=1.13
+pkgrel=0
+pkgdesc="X11 C language Binding"
+url="https://xcb.freedesktop.org/"
+arch="all"
+license="X11"
+depends=
+subpackages="$pkgname-dev $pkgname-doc"
+depends_dev="libxau-dev xcb-proto"
+checkdepends="check-dev"
+makedepends="$depends_dev libxslt python3 libpthread-stubs libxdmcp-dev"
+source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-xkb \
+ --enable-xinput \
+ --disable-xprint \
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="d99bbe386a65f60fcc0cc2935e4a365bc0577b5e90433e18778a665a5aee8ebc8e9e8cb0aedac0ac4a276147c0507e759a716874ea4f80792b2fc18eefbc128c libxcb-1.13.tar.bz2"