From 7ee3b493c265ef4a910082e459a32a74e0d6e988 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 16 Nov 2012 12:35:15 +0000 Subject: main/libxklavier: upgrade to 5.3 --- main/libxklavier/APKBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'main/libxklavier') 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 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" -- cgit v1.2.3