aboutsummaryrefslogtreecommitdiffstats
path: root/main/xkbcomp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xkbcomp/APKBUILD')
-rw-r--r--main/xkbcomp/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/xkbcomp/APKBUILD b/main/xkbcomp/APKBUILD
index 3629142a2d..ca5ea9a40b 100644
--- a/main/xkbcomp/APKBUILD
+++ b/main/xkbcomp/APKBUILD
@@ -12,8 +12,15 @@ makedepends="pkgconfig libx11-dev libxkbfile-dev"
subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/app/$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 \
@@ -26,7 +33,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
}