summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <adelie@aerdan.vulpine.house>2020-12-20 22:44:02 +0000
committerKiyoshi Aman <adelie@aerdan.vulpine.house>2020-12-20 22:44:02 +0000
commit858b7dd6ae1a6846c98f61a2667f83575436c43f (patch)
tree6f659572e7e87a47e0fa54bc27bff6ab2a7ad612
parent5b510e9ea8983fadb9d60dcb1423c35617205458 (diff)
downloadpackages-858b7dd6ae1a6846c98f61a2667f83575436c43f.tar.gz
packages-858b7dd6ae1a6846c98f61a2667f83575436c43f.tar.bz2
packages-858b7dd6ae1a6846c98f61a2667f83575436c43f.tar.xz
packages-858b7dd6ae1a6846c98f61a2667f83575436c43f.zip
user/xcb-util-errors: new package
-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"