aboutsummaryrefslogtreecommitdiffstats
path: root/main/xkeyboard-config
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-30 06:50:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-30 06:50:11 +0000
commit3cbacc3c5e414a58ae215445519eb46db4921e08 (patch)
treefdda868b3483e251d6dd9c91f429ae094f093b45 /main/xkeyboard-config
parentd48c529a8295229678d40751772417ef08a681f4 (diff)
downloadaports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.bz2
aports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.xz
main/[various]: update config.sub
Diffstat (limited to 'main/xkeyboard-config')
-rw-r--r--main/xkeyboard-config/APKBUILD11
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