diff options
Diffstat (limited to 'libre/sqlite-static/PKGBUILD')
-rw-r--r-- | libre/sqlite-static/PKGBUILD | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/libre/sqlite-static/PKGBUILD b/libre/sqlite-static/PKGBUILD deleted file mode 100644 index 4623a7811..000000000 --- a/libre/sqlite-static/PKGBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Márcio Silva <coadde@parabola.nu> -# based of sqlite - -pkgbase="sqlite" -pkgname=sqlite-static -_srcver=3120100 -pkgver=3.12.1 -pkgrel=1 -pkgdesc="A C library that implements an SQL database engine (static libraries only)" -arch=('i686' 'x86_64' 'armv7h') -license=('custom:Public Domain') -url="http://www.sqlite.org/" -makedepends=('tcl' 'readline') -source=(http://www.sqlite.org/2016/sqlite-src-${_srcver}.zip) -options=('!emptydirs' '!makeflags' 'staticlibs') # json extensions breaks parallel build -sha1sums=('f3f76c0f07a37e085eb504460a5663bcff53b6ad') - -prepare() { - cd sqlite-src-$_srcver -# autoreconf -vfi -} - -build() { - export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \ - -DSQLITE_ENABLE_UNLOCK_NOTIFY \ - -DSQLITE_ENABLE_DBSTAT_VTAB=1 \ - -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \ - -DSQLITE_SECURE_DELETE" - - # build sqlite - cd sqlite-src-$_srcver - ./configure --prefix=/usr \ - --enable-static \ - --disable-amalgamation \ - --enable-fts3 \ - --enable-fts4 \ - --enable-fts5 \ - --enable-rtree \ - --enable-json1 \ - TCLLIBDIR=/usr/lib/sqlite$pkgver - make - # build additional tools - make showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer -} - -package() { - - pkgdesc="A C library that implements an SQL database engine (static libraries only)" - depends=('sqlite') - - cd sqlite-src-$_srcver - make DESTDIR=${pkgdir} install - - # remove conflicting files - rm -vr ${pkgdir}/usr/{bin,include,lib/{pkgconfig,sqlite*}} - rm -v ${pkgdir}/usr/lib/lib*.so* -} |