Date: Sunday, March 12, 2017 @ 03:26:28 Author: lcarlier Revision: 215742
archrelease: copy trunk to multilib-x86_64 Added: lib32-sqlite/repos/multilib-x86_64/PKGBUILD (from rev 215741, lib32-sqlite/trunk/PKGBUILD) Deleted: lib32-sqlite/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 120 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-12 03:26:22 UTC (rev 215741) +++ PKGBUILD 2017-03-12 03:26:28 UTC (rev 215742) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Biru Ionut <io...@archlinux.ro> -# Contributor: Mikko Seppälä <t-r-...@mbnet.fi> -# Contributor: Kaos < gianlucaatlas dot gmail dot com > - -_pkgbasename=sqlite -pkgname=lib32-sqlite -_srcver=3160200 -_docver=${_srcver} -pkgver=3.16.2 -pkgrel=1 -pkgdesc="A C library that implements an SQL database engine (32-bit)" -arch=('x86_64') -license=('custom') -url="http://www.sqlite.org/" -depends=(lib32-glibc $_pkgbasename) -makedepends=('tcl' 'gcc-multilib' 'lib32-readline') -source=(https://www.sqlite.org/2017/sqlite-src-${_srcver}.zip) -sha256sums=('ee77c2cc5cc4a7b0a746a1d4496f7aee0d71c558a3bbfcf8e9e0b35416910337') -options=('!makeflags') - -prepare() { - cd "$srcdir"/sqlite-src-$_srcver - autoreconf -vfi -} - -build() { - cd "$srcdir"/sqlite-src-$_srcver - - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - export LTLINK_EXTRAS="-ldl" - export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 \ - -DSQLITE_ENABLE_COLUMN_METADATA=1 \ - -DSQLITE_ENABLE_UNLOCK_NOTIFY \ - -DSQLITE_ENABLE_DBSTAT_VTAB=1 \ - -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \ - -DSQLITE_ENABLE_RTREE=1 \ - -DSQLITE_SECURE_DELETE \ - -DSQLITE_MAX_VARIABLE_NUMBER=250000" - - ./configure --prefix=/usr \ - --libdir=/usr/lib32 \ - --disable-tcl \ - --disable-static - - make -} - -package() { - cd "$srcdir"/sqlite-src-$_srcver - - make DESTDIR=${pkgdir} install - - rm -rf "${pkgdir}"/usr/{include,share,bin} - mkdir -p "$pkgdir/usr/share/licenses" - ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" -} Copied: lib32-sqlite/repos/multilib-x86_64/PKGBUILD (from rev 215741, lib32-sqlite/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-12 03:26:28 UTC (rev 215742) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Biru Ionut <io...@archlinux.ro> +# Contributor: Mikko Seppälä <t-r-...@mbnet.fi> +# Contributor: Kaos < gianlucaatlas dot gmail dot com > + +_pkgbasename=sqlite +pkgname=lib32-sqlite +_srcver=3170000 +_docver=${_srcver} +pkgver=3.17.0 +pkgrel=1 +pkgdesc="A C library that implements an SQL database engine (32-bit)" +arch=('x86_64') +license=('custom') +url="http://www.sqlite.org/" +depends=(lib32-glibc $_pkgbasename) +makedepends=('tcl' 'gcc-multilib' 'lib32-readline') +source=(https://www.sqlite.org/2017/sqlite-src-${_srcver}.zip) +sha256sums=('86754bee6bcaf1f2a6bf4a02676eb3a43d22d4e5d8339e217424cb2be6b748c3') +options=('!makeflags') + +prepare() { + cd "$srcdir"/sqlite-src-$_srcver + autoreconf -vfi +} + +build() { + cd "$srcdir"/sqlite-src-$_srcver + + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + export LTLINK_EXTRAS="-ldl" + export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 \ + -DSQLITE_ENABLE_COLUMN_METADATA=1 \ + -DSQLITE_ENABLE_UNLOCK_NOTIFY \ + -DSQLITE_ENABLE_DBSTAT_VTAB=1 \ + -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \ + -DSQLITE_ENABLE_RTREE=1 \ + -DSQLITE_SECURE_DELETE \ + -DSQLITE_MAX_VARIABLE_NUMBER=250000" + + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --disable-tcl \ + --disable-static + + make +} + +package() { + cd "$srcdir"/sqlite-src-$_srcver + + make DESTDIR=${pkgdir} install + + rm -rf "${pkgdir}"/usr/{include,share,bin} + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +}