diff options
-rw-r--r-- | user/xcb-util/APKBUILD | 35 |
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" |