aboutsummaryrefslogtreecommitdiffstats
path: root/main/sqlite
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-14 06:25:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-14 06:25:37 +0000
commit883d2e3f7b551f933a05c2bbea94ae86eae577e5 (patch)
tree27c19132c804ca4ca01454f5617a2419b1365983 /main/sqlite
parente62adb77980b8fe5ccb5005736c3c0e7dde9a0a9 (diff)
downloadaports-883d2e3f7b551f933a05c2bbea94ae86eae577e5.tar.bz2
aports-883d2e3f7b551f933a05c2bbea94ae86eae577e5.tar.xz
main/sqlite: upgrade to 3.7.6.1
Diffstat (limited to 'main/sqlite')
-rw-r--r--main/sqlite/APKBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/main/sqlite/APKBUILD b/main/sqlite/APKBUILD
index b5beff8a02..59ff7b3012 100644
--- a/main/sqlite/APKBUILD
+++ b/main/sqlite/APKBUILD
@@ -1,11 +1,16 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=sqlite
-pkgver=3.7.6
-_x=${pkgver%%.*}
-_y=${pkgver%.*}
-_y=${_y#*.}
-_z=${pkgver##*.}
-_ver=${_x}0${_y}0${_z}00
+pkgver=3.7.6.1
+_a=${pkgver%%.*}
+_b=${pkgver#${_a}.}
+_b=${_b%%.*}
+_c=${pkgver#${_a}.${_b}.}
+_c=${_c%%.*}
+_d=${pkgver##*.}
+case $pkgver in
+ *.*.*.*) _ver=${_a}0${_b}0${_c}0${_d};;
+ *.*.*) _ver=${_a}0${_b}0${_c}00;;
+esac
pkgrel=0
pkgdesc="A C library that implements an SQL database engine"
url="http://www.sqlite.org/"
@@ -68,5 +73,5 @@ package() {
install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}
-md5sums="8e1764574dbddb6be675c79bcfcc304d sqlite-autoconf-3070600.tar.gz
+md5sums="a9b7327d6762652fe19caf68fb50849d sqlite-autoconf-3070601.tar.gz
c1cdbc5544034d9012e421e75a5e4890 license.txt"