[arch-commits] Commit in sqlite/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Fri Apr 6 11:51:06 EDT 2012


    Date: Friday, April 6, 2012 @ 11:51:05
  Author: andyrtr
Revision: 155796

upgpkg: sqlite 3.7.11-2

rename package sqlite3 -> sqlite for move to extra; FS#29296

Modified:
  sqlite/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-06 15:27:01 UTC (rev 155795)
+++ PKGBUILD	2012-04-06 15:51:05 UTC (rev 155796)
@@ -14,15 +14,13 @@
 arch=('i686' 'x86_64')
 license=('custom')
 url="http://www.sqlite.org/"
-makedepends=('tcl' 'readline>=6.0.00')
-source=( # tarball containing the amalgamation for SQLite 3.7.5 together with a configure script and makefile for building it; includes now also the Tcl Extension Architecture (TEA)
+makedepends=('tcl' 'readline')
+source=( # tarball containing the amalgamation for SQLite >= 3.7.5 together with a configure script and makefile for building it; includes now also the Tcl Extension Architecture (TEA)
 	http://www.sqlite.org/sqlite-autoconf-$_amalgamationver.tar.gz
 	#http://www.sqlite.org/sqlite-doc-${_amalgamationver}.zip
 	http://www.sqlite.org/sqlite-doc-${_docver}.zip
 	license.txt)
 options=('!libtool' '!emptydirs')
-provides=('sqlite3')
-replaces=('sqlite3')
 md5sums=('0552d71bda98ebdcaea305cd6058221b'
          'c1fb48beff33612b2c7f5ae6ab17a601'
          'c1cdbc5544034d9012e421e75a5e4890')
@@ -47,9 +45,9 @@
 package_sqlite() {
  
  pkgdesc="A C library that implements an SQL database engine"
- depends=('readline>=6.0.00')
- conflicts=('sqlite')
- replaces=('sqlite')
+ depends=('readline')
+ provides=("sqlite3=$pkgver")
+ replaces=("sqlite3=$pkgver")
  
   cd ${srcdir}/sqlite-autoconf-$_amalgamationver
   make DESTDIR=${pkgdir} install
@@ -60,17 +58,22 @@
 
 package_sqlite-tcl() {
  
- pkgdesc="sqlite3 Tcl Extension Architecture (TEA)"
+ pkgdesc="sqlite Tcl Extension Architecture (TEA)"
  depends=('sqlite>=3.7.5')
-
+ provides=("sqlite3-tcl=$pkgver")
+ replaces=("sqlite3-tcl=$pkgver")
+ 
   cd ${srcdir}/sqlite-autoconf-$_amalgamationver/tea
   make DESTDIR=${pkgdir} install
 }
 
 package_sqlite-doc() {
+
  pkgdesc="most of the static HTML files that comprise this website, including all of the SQL Syntax and the C/C++ interface specs and other miscellaneous documentation"
  #arch=('any') - not yet supported
-
+ provides=("sqlite3-doc=$pkgver")
+ replaces=("sqlite3-doc=$pkgver")
+ 
   #cd ${srcdir}/sqlite-doc-${_amalgamationver}
   cd ${srcdir}/sqlite-doc-${_docver}
   mkdir -p ${pkgdir}/usr/share/doc/${pkgbase}
@@ -84,7 +87,7 @@
   find ${pkgdir} -type d -name '*~' -exec ls -lha {} \;
   find ${pkgdir} -name '*~' -exec rm -f {} \;
 
-  find ${pkgdir} -type f -name '.~*' -exec ls -lha {} \; # /build/pkg/sqlite-doc/usr/share/doc/sqlite3/images/fileformat/.~lock.indexpage.odg#
+  find ${pkgdir} -type f -name '.~*' -exec ls -lha {} \; # /build/pkg/sqlite-doc/usr/share/doc/sqlite/images/fileformat/.~lock.indexpage.odg#
   find ${pkgdir} -type d -name '.~*' -exec ls -lha {} \;
   find ${pkgdir} -name '.~*' -exec rm -f {} \;
 }



More information about the arch-commits mailing list