summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:43:13 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:43:13 -0500
commit8bab8a78b84e21215cefba433242343e7aaeceed (patch)
tree9032b05085acdf4f44788d9254f0f8439d01acac
parent1fc2e08291003639f3c325df5fe4240cc286b06c (diff)
downloadpackages-8bab8a78b84e21215cefba433242343e7aaeceed.tar.gz
packages-8bab8a78b84e21215cefba433242343e7aaeceed.tar.bz2
packages-8bab8a78b84e21215cefba433242343e7aaeceed.tar.xz
packages-8bab8a78b84e21215cefba433242343e7aaeceed.zip
user/xcb-util: take, fix
-rw-r--r--user/xcb-util/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/xcb-util/APKBUILD b/user/xcb-util/APKBUILD
new file mode 100644
index 000000000..893a56655
--- /dev/null
+++ b/user/xcb-util/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xcb-util
+pkgver=0.4.0
+pkgrel=2
+pkgdesc="Utility libraries for X C-language Binding"
+url="https://xcb.freedesktop.org/"
+arch="all"
+license="X11"
+depends_dev="libxcb-dev util-macros"
+makedepends="$depends_dev m4 gperf"
+checkdepends="check-dev"
+subpackages="$pkgname-dev"
+source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e60aaa6f582eacd05896c5fd7c8417938318a1288146f3a5b339f77eed24e211c6099963f8813daa621c94173d2934228936b491c0ed79b09a8a67d835867d0e xcb-util-0.4.0.tar.bz2"