[arch-commits] Commit in db/trunk (PKGBUILD db.install)

Andreas Radke andyrtr at nymeria.archlinux.org
Sun Aug 4 10:31:25 UTC 2013


    Date: Sunday, August 4, 2013 @ 12:31:25
  Author: andyrtr
Revision: 192024

upgpkg: db 6.0.20-1

upstream update

Modified:
  db/trunk/PKGBUILD
  db/trunk/db.install

------------+
 PKGBUILD   |   16 ++++++++++------
 db.install |    2 +-
 2 files changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-04 08:45:49 UTC (rev 192023)
+++ PKGBUILD	2013-08-04 10:31:25 UTC (rev 192024)
@@ -4,7 +4,7 @@
 # Contributor: Andreas Radke <andyrtr at archlinux.org>
 
 pkgname=db
-pkgver=5.3.21
+pkgver=6.0.20
 pkgrel=1
 pkgdesc="The Berkeley DB embedded database system"
 arch=('i686' 'x86_64')
@@ -14,17 +14,21 @@
 options=('!libtool')
 install=db.install
 source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
-sha1sums=('32e43c4898c8996750c958a90c174bd116fcba83')
+sha1sums=('03155e4ebdb6572a3cc684965f2ae307ac75a458')
 
 build() {
-  cd "${srcdir}"/$pkgname-${pkgver}/build_unix
-  ../dist/configure --prefix=/usr --enable-compat185 \
-    --enable-shared --enable-static --enable-cxx --enable-dbm
+  cd $pkgname-${pkgver}/build_unix
+  ../dist/configure --prefix=/usr \
+    --enable-compat185 \
+    --enable-shared \
+    --enable-static \
+    --enable-cxx \
+    --enable-dbm
   make LIBSO_LIBS=-lpthread
 }
 
 package() {
-  cd "${srcdir}"/$pkgname-${pkgver}/build_unix
+  cd $pkgname-${pkgver}/build_unix
   make DESTDIR="${pkgdir}" install
   rm -r "${pkgdir}"/usr/docs
   install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \

Modified: db.install
===================================================================
--- db.install	2013-08-04 08:45:49 UTC (rev 192023)
+++ db.install	2013-08-04 10:31:25 UTC (rev 192024)
@@ -1,5 +1,5 @@
 post_upgrade() {
-  if [ "$(vercmp $2 5.1)" -lt 0 ]; then
+  if [ "$(vercmp $2 6.0)" -lt 0 ]; then
     echo " >> Major version update. Consider running db_upgrade on Berkeley DB databases."
   fi
 }




More information about the arch-commits mailing list