diff options
Diffstat (limited to 'main/xkeyboard-config')
-rw-r--r-- | main/xkeyboard-config/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/xkeyboard-config/APKBUILD b/main/xkeyboard-config/APKBUILD index 84a51293ef..b6538dafeb 100644 --- a/main/xkeyboard-config/APKBUILD +++ b/main/xkeyboard-config/APKBUILD @@ -12,8 +12,11 @@ makedepends="xkbcomp intltool libx11-dev" source="http://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/xkeyboard-config-$pkgver.tar.bz2 " +_builddir="$srcdir/$pkgname-$pkgver" + prepare() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" + update_config_sub || return 1 for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -21,8 +24,8 @@ prepare() { done } -build () { - cd "$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ @@ -36,7 +39,7 @@ build () { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/share/X11/xkb/compiled || return 1 install -m755 -d "$pkgdir"/var/lib/xkb |