aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxklavier
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-16 12:35:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-16 12:35:15 +0000
commit7ee3b493c265ef4a910082e459a32a74e0d6e988 (patch)
tree070f292bafe3c46c520f125c7944689ddd18e748 /main/libxklavier
parentedec27026190b3d12d43a7d94ce20efd4fca8d2a (diff)
downloadaports-7ee3b493c265ef4a910082e459a32a74e0d6e988.tar.bz2
aports-7ee3b493c265ef4a910082e459a32a74e0d6e988.tar.xz
main/libxklavier: upgrade to 5.3
Diffstat (limited to 'main/libxklavier')
-rw-r--r--main/libxklavier/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/libxklavier/APKBUILD b/main/libxklavier/APKBUILD
index 822315b76e..d5075dce19 100644
--- a/main/libxklavier/APKBUILD
+++ b/main/libxklavier/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxklavier
-pkgver=5.2.1
+pkgver=5.3
pkgrel=0
pkgdesc="High-level API for X Keyboard Extension"
url="http://gswitchit.sourceforge.net"
@@ -10,7 +10,14 @@ subpackages="$pkgname-dev $pkgname-doc"
depends="xkeyboard-config iso-codes"
makedepends="pkgconfig libxkbfile-dev libxml2-dev glib-dev libxi-dev iso-codes
gettext-dev libiconv-dev"
-source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+
+_v=$pkgver
+case $pkgver in
+*.*.*) _v=${pkgver%.*};;
+*.*.*.*) _v=${pkgver%.*.*};;
+esac
+
+source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${_v}/$pkgname-$pkgver.tar.xz"
depends_dev="libxml2-dev glib-dev gettext-dev libxkbfile-dev"
@@ -28,4 +35,4 @@ package() {
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="b3e718ee156d0d8883dfc3ff3bb86779 libxklavier-5.2.1.tar.xz"
+md5sums="290ea2a8abc40f78a3a16bdae6f02808 libxklavier-5.3.tar.xz"