diff options
author | Andrew Sun | 2018-09-18 21:57:24 -0400 |
---|---|---|
committer | Andrew Sun | 2018-09-18 21:57:24 -0400 |
commit | 0463d7d799e78789aa75c106c67c15fb6af25e61 (patch) | |
tree | 37c23a66523529d59631b07c836c1979bf34d2fb | |
parent | ee1c8636c91487d4dd6b9eef23eb9037be75d1e0 (diff) | |
download | aur-0463d7d799e78789aa75c106c67c15fb6af25e61.tar.gz |
mingw-w64-sqlite: update to 3.25.1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 24 insertions, 15 deletions
@@ -1,6 +1,6 @@ pkgbase = mingw-w64-sqlite pkgdesc = A C library that implements an SQL database engine (mingw-w64) - pkgver = 3.25.0 + pkgver = 3.25.1 pkgrel = 1 url = http://www.sqlite.org/ arch = any @@ -13,8 +13,8 @@ pkgbase = mingw-w64-sqlite options = !buildflags options = !strip options = staticlibs - source = http://www.sqlite.org/2018/sqlite-autoconf-3250000.tar.gz - sha256sums = de1a93dfc1ea23d93ee85440fe4347d0b9cd936f25c29645ee0ee170d1307f71 + source = http://www.sqlite.org/2018/sqlite-autoconf-3250100.tar.gz + sha256sums = 96ed46bd87f093073ca8afd613020def847009b611c89f397bc24bd932ec6fd1 pkgname = mingw-w64-sqlite @@ -1,19 +1,21 @@ +# Maintainer: Andrew Sun <adsun701@gmail.com> # Contributor: napa3um <napa3um@gmail.com> # Contributor: Filip Brcic <brcha@gna.org> + pkgname=mingw-w64-sqlite -_amalgamationver=3250000 -pkgver=3.25.0 +_amalgamationver=3250100 +pkgver=3.25.1 pkgrel=1 pkgdesc="A C library that implements an SQL database engine (mingw-w64)" -arch=(any) +arch=('any') groups=(mingw-w64) -depends=(mingw-w64-crt) -makedepends=(mingw-w64-configure mingw-w64-pdcurses mingw-w64-readline) -options=(!buildflags !strip staticlibs) +depends=('mingw-w64-crt') +makedepends=('mingw-w64-configure' 'mingw-w64-pdcurses' 'mingw-w64-readline') +options=('!buildflags' '!strip' 'staticlibs') license=('custom:Public Domain') url="http://www.sqlite.org/" -source=("http://www.sqlite.org/2018/sqlite-autoconf-$_amalgamationver.tar.gz") -sha256sums=('de1a93dfc1ea23d93ee85440fe4347d0b9cd936f25c29645ee0ee170d1307f71') +source=("http://www.sqlite.org/2018/sqlite-autoconf-${_amalgamationver}.tar.gz") +sha256sums=('96ed46bd87f093073ca8afd613020def847009b611c89f397bc24bd932ec6fd1') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" @@ -21,10 +23,18 @@ build() { cd "${srcdir}/sqlite-autoconf-${_amalgamationver}" for _arch in ${_architectures}; do mkdir -p build-${_arch} && pushd build-${_arch} - CFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1" \ + CFLAGS+=" -fexceptions -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_USE_MALLOC_H=1 -DSQLITE_USE_MSIZE=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_RTREE=1 -fno-strict-aliasing" config_TARGET_EXEEXT=.exe \ ${_arch}-configure \ - --enable-threadsafe + --enable-threadsafe \ + --disable-editline \ + --enable-readline \ + --enable-fts3 \ + --enable-fts4 \ + --enable-fts5 \ + --enable-rtree \ + --enable-json1 \ + --enable-session make popd done @@ -36,10 +46,9 @@ package() { pushd build-${_arch} make DESTDIR="${pkgdir}" install rm -r "${pkgdir}/usr/${_arch}/share" - rm "$pkgdir"/usr/${_arch}/bin/*.exe + ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.exe ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a popd done } - |