summaryrefslogtreecommitdiff
path: root/user/xcb-proto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xcb-proto/APKBUILD')
-rw-r--r--user/xcb-proto/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/xcb-proto/APKBUILD b/user/xcb-proto/APKBUILD
new file mode 100644
index 000000000..256d44c84
--- /dev/null
+++ b/user/xcb-proto/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xcb-proto
+pkgver=1.13
+pkgrel=0
+pkgdesc="XCB protocol descriptions"
+url="https://xcb.freedesktop.org/"
+arch="noarch"
+license="X11"
+depends=""
+makedepends="python3"
+source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -m644 -Dt "$pkgdir"/usr/share/licenses/$pkgname/ COPYING
+}
+sha512sums="002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7 xcb-proto-1.13.tar.bz2"