summaryrefslogtreecommitdiffstats
path: root/main/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'main/sqlite')
-rw-r--r--main/sqlite/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/sqlite/APKBUILD b/main/sqlite/APKBUILD
index e782f86c7..ada014d2d 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"