aboutsummaryrefslogtreecommitdiffstats
path: root/main/sqlite/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-23 07:01:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-23 07:01:18 +0000
commitc1eca93abf715cfb26ce51f186484f7102a6a256 (patch)
treeb4412b4f316275c93fb0a56beec1befd3b058b4a /main/sqlite/APKBUILD
parent7891b9822f3dbf5c6b5cd559e82d07a4eeee170d (diff)
downloadaports-c1eca93abf715cfb26ce51f186484f7102a6a256.tar.bz2
aports-c1eca93abf715cfb26ce51f186484f7102a6a256.tar.xz
main/sqlite: upgrade to 3.7.12.1
Diffstat (limited to 'main/sqlite/APKBUILD')
-rw-r--r--main/sqlite/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/sqlite/APKBUILD b/main/sqlite/APKBUILD
index e782f86c7e..ada014d2d9 100644
--- a/main/sqlite/APKBUILD
+++ b/main/sqlite/APKBUILD
@@ -1,20 +1,21 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=sqlite
-pkgver=3.7.12
+pkgver=3.7.12.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};;
- *.*.*) if [ $_c -ge 10 ]; then
- _ver=${_a}0${_b}${_c}00
- else
- _ver=${_a}0${_b}0${_c}00
- fi;;
+ *.*.*.*)_d=${pkgver##*.};;
+ *.*.*) _d=0;;
esac
+
+[ $_b -lt 10 ] && _b=0$_b
+[ $_c -lt 10 ] && _c=0$_c
+[ $_d -lt 10 ] && _d=0$_d
+_ver=${_a}${_b}${_c}${_d}
+
pkgrel=0
pkgdesc="A C library that implements an SQL database engine"
url="http://www.sqlite.org/"
@@ -78,5 +79,5 @@ package() {
install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}
-md5sums="28842cb51a699c0b554120bafe6418ff sqlite-autoconf-3071200.tar.gz
+md5sums="eb7bbd258913518ad30971ea7ecb0ca9 sqlite-autoconf-3071201.tar.gz
c1cdbc5544034d9012e421e75a5e4890 license.txt"