aboutsummaryrefslogtreecommitdiffstats
path: root/main/xcb-util/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xcb-util/APKBUILD')
-rw-r--r--main/xcb-util/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/xcb-util/APKBUILD b/main/xcb-util/APKBUILD
index 4b0b2a6d45..bf53da7a20 100644
--- a/main/xcb-util/APKBUILD
+++ b/main/xcb-util/APKBUILD
@@ -12,8 +12,15 @@ depends_dev="libxcb-dev"
makedepends="m4 $depends_dev gperf pkgconfig"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \