aboutsummaryrefslogtreecommitdiffstats
path: root/main/kbproto
diff options
context:
space:
mode:
Diffstat (limited to 'main/kbproto')
-rw-r--r--main/kbproto/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/kbproto/APKBUILD b/main/kbproto/APKBUILD
index c12289b127..2062703df7 100644
--- a/main/kbproto/APKBUILD
+++ b/main/kbproto/APKBUILD
@@ -10,8 +10,15 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$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 \