diff options
-rw-r--r-- | main/sqlite/APKBUILD | 19 |
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" |