summaryrefslogtreecommitdiff
path: root/user/xcb-util-errors/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xcb-util-errors/APKBUILD')
-rw-r--r--user/xcb-util-errors/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xcb-util-errors/APKBUILD b/user/xcb-util-errors/APKBUILD
new file mode 100644
index 000000000..f9643b5b4
--- /dev/null
+++ b/user/xcb-util-errors/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor:
+# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+pkgname=xcb-util-errors
+pkgver=1.0
+pkgrel=0
+pkgdesc="XCB utility library for readable X errors"
+url="https://xcb.freedesktop.org/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="automake autoconf xcb-util-dev"
+subpackages="$pkgname-dev"
+source="https://xcb.freedesktop.org/dist/xcb-util-errors-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="479b731b7056313955db9471d37416c4c9ab8c4574214fe20b3c0bcc1f57812fc343af6b0196814caaa6cc848dd120c70fab2f142902125cba63a8386d32179d xcb-util-errors-1.0.tar.bz2"