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