aboutsummaryrefslogtreecommitdiffstats
path: root/main/xkeyboard-config/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-10 20:09:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-10 20:10:27 +0000
commita8734178a6d89c27dad3777be575d01a980a126d (patch)
treec8804a0ea337c3e91b06513754850c9b171f6384 /main/xkeyboard-config/APKBUILD
parentc23089ad885ea4ea951c0f83e19e50e49769e95b (diff)
downloadaports-a8734178a6d89c27dad3777be575d01a980a126d.tar.bz2
aports-a8734178a6d89c27dad3777be575d01a980a126d.tar.xz
main/xkeyboard-config: upgrade to 2.0
Diffstat (limited to 'main/xkeyboard-config/APKBUILD')
-rw-r--r--main/xkeyboard-config/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/main/xkeyboard-config/APKBUILD b/main/xkeyboard-config/APKBUILD
index eadffbee8f..f247d5c14b 100644
--- a/main/xkeyboard-config/APKBUILD
+++ b/main/xkeyboard-config/APKBUILD
@@ -1,10 +1,10 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xkeyboard-config
-pkgver=1.6
+pkgver=2.0
pkgrel=0
pkgdesc="X keyboard configuration files"
url="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
-arch="x86 x86_64"
+arch="noarch"
license="custom"
depends=
makedepends="xkbcomp intltool"
@@ -18,9 +18,13 @@ build () {
--with-xkb-rules-symlink=xorg \
--enable-compat-rules=yes || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/share/X11/xkb/compiled || return 1
install -m755 -d "$pkgdir"/var/lib/xkb
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="5ae575a9073af12cd71773e065b38b3a xkeyboard-config-1.6.tar.bz2"
+md5sums="bb8a98ee61cdc4bd835fdfd2b5cee3e6 xkeyboard-config-2.0.tar.bz2"