[arch-commits] Commit in lib32-sqlite/repos (2 files)

Laurent Carlier lcarlier at archlinux.org
Sun Apr 12 04:38:09 UTC 2015


    Date: Sunday, April 12, 2015 @ 06:38:09
  Author: lcarlier
Revision: 131216

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-sqlite/repos/multilib-testing-x86_64/
  lib32-sqlite/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 131215, lib32-sqlite/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: lib32-sqlite/repos/multilib-testing-x86_64/PKGBUILD (from rev 131215, lib32-sqlite/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2015-04-12 04:38:09 UTC (rev 131216)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Biru Ionut <ionut at archlinux.ro>
+# Contributor: Mikko Seppälä <t-r-a-y at mbnet.fi>
+# Contributor: Kaos < gianlucaatlas dot gmail dot com >
+
+_pkgbasename=sqlite
+pkgname=lib32-sqlite
+_amalgamationver=3080900
+_docver=${_amalgamationver}
+#_docver=3080401
+pkgver=3.8.9
+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=(http://www.sqlite.org/2015/sqlite-autoconf-${_amalgamationver}.tar.gz)
+sha1sums=('db70dee268700b312cbaa5b3e5cf8454e1c8b7b9')
+provides=("lib32-sqlite3=$pkgver")
+replaces=("lib32-sqlite3")
+conflicts=("lib32-sqlite3")
+
+build() {
+  cd ${srcdir}/sqlite-autoconf-${_amalgamationver}
+
+  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_SECURE_DELETE"
+
+  ./configure --prefix=/usr --libdir=/usr/lib32 \
+    --disable-static
+
+  make
+}
+
+
+package() {
+  cd ${srcdir}/sqlite-autoconf-${_amalgamationver}
+
+  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"
+}



More information about the arch-commits mailing list