aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-08-01 18:39:25 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-08-02 05:46:30 +0000
commit690fc9580f628a45937df16232b91cc10f93bd28 (patch)
treed23c1e7ba6feced4c97d9998f7b1f1e41bf22113 /main
parent7d57403d035c75ea7ae710afb27ef71fa3bb01f3 (diff)
downloadaports-690fc9580f628a45937df16232b91cc10f93bd28.tar.bz2
aports-690fc9580f628a45937df16232b91cc10f93bd28.tar.xz
main/sqlite: ugprade to 3.20.0 and modernize abuild
Diffstat (limited to 'main')
-rw-r--r--main/sqlite/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/main/sqlite/APKBUILD b/main/sqlite/APKBUILD
index 90103bf0e1..367efc1f5d 100644
--- a/main/sqlite/APKBUILD
+++ b/main/sqlite/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
pkgname=sqlite
-pkgver=3.19.3
+pkgver=3.20.0
_a=${pkgver%%.*}
_b=${pkgver#${_a}.}
_b=${_b%%.*}
@@ -51,23 +51,22 @@ build() {
--enable-threadsafe \
--disable-static \
--enable-readline \
- --enable-dynamic-extensions \
- || return 1
+ --enable-dynamic-extensions
# rpath removal
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
- make || return 1
+ make
}
package() {
cd "$builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ make -j1 DESTDIR="$pkgdir" install
install -Dm0644 sqlite3.1 \
- "$pkgdir"/usr/share/man/man1/sqlite3.1 || return 1
+ "$pkgdir"/usr/share/man/man1/sqlite3.1
install -Dm644 "$srcdir"/license.txt \
- "$pkgdir"/usr/share/licenses/$pkgname/license.txt || return 1
+ "$pkgdir"/usr/share/licenses/$pkgname/license.txt
}
libs() {
@@ -77,5 +76,5 @@ libs() {
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
}
-sha512sums="7896c99726da75818f1027d5675b24724bc89c738874c868868e60c09d4509ad5a6da93f54cfcecb3a1052e4f164f7cb864ede333b9ccfb4f6b811b052ca1d3d sqlite-autoconf-3190300.tar.gz
+sha512sums="f5b0ffcc27adeed5b27b29962d03defa167151868f2281c5642a8ddfa10ac8971aff22081a5b46bd36bcf664bd271975e80249ec403b73656658b33af084ec94 sqlite-autoconf-3200000.tar.gz
5bde14bec5bf18cc686b8b90a8b2324c8c6600bca1ae56431a795bb34b8b5ae85527143f3b5f0c845c776bce60eaa537624104cefc3a47b3820d43083f40c6e9 license.txt"