[arch-commits] Commit in db/repos (6 files)

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


    Date: Sunday, August 4, 2013 @ 12:31:41
  Author: andyrtr
Revision: 192025

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  db/repos/staging-i686/
  db/repos/staging-i686/PKGBUILD
    (from rev 192024, db/trunk/PKGBUILD)
  db/repos/staging-i686/db.install
    (from rev 192024, db/trunk/db.install)
  db/repos/staging-x86_64/
  db/repos/staging-x86_64/PKGBUILD
    (from rev 192024, db/trunk/PKGBUILD)
  db/repos/staging-x86_64/db.install
    (from rev 192024, db/trunk/db.install)

---------------------------+
 staging-i686/PKGBUILD     |   36 ++++++++++++++++++++++++++++++++++++
 staging-i686/db.install   |    5 +++++
 staging-x86_64/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/db.install |    5 +++++
 4 files changed, 82 insertions(+)

Copied: db/repos/staging-i686/PKGBUILD (from rev 192024, db/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-08-04 10:31:41 UTC (rev 192025)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=db
+pkgver=6.0.20
+pkgrel=1
+pkgdesc="The Berkeley DB embedded database system"
+arch=('i686' 'x86_64')
+url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
+license=('custom')
+depends=('gcc-libs' 'sh')
+options=('!libtool')
+install=db.install
+source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
+sha1sums=('03155e4ebdb6572a3cc684965f2ae307ac75a458')
+
+build() {
+  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 $pkgname-${pkgver}/build_unix
+  make DESTDIR="${pkgdir}" install
+  rm -r "${pkgdir}"/usr/docs
+  install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: db/repos/staging-i686/db.install (from rev 192024, db/trunk/db.install)
===================================================================
--- staging-i686/db.install	                        (rev 0)
+++ staging-i686/db.install	2013-08-04 10:31:41 UTC (rev 192025)
@@ -0,0 +1,5 @@
+post_upgrade() {
+  if [ "$(vercmp $2 6.0)" -lt 0 ]; then
+    echo " >> Major version update. Consider running db_upgrade on Berkeley DB databases."
+  fi
+}

Copied: db/repos/staging-x86_64/PKGBUILD (from rev 192024, db/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-08-04 10:31:41 UTC (rev 192025)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=db
+pkgver=6.0.20
+pkgrel=1
+pkgdesc="The Berkeley DB embedded database system"
+arch=('i686' 'x86_64')
+url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
+license=('custom')
+depends=('gcc-libs' 'sh')
+options=('!libtool')
+install=db.install
+source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
+sha1sums=('03155e4ebdb6572a3cc684965f2ae307ac75a458')
+
+build() {
+  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 $pkgname-${pkgver}/build_unix
+  make DESTDIR="${pkgdir}" install
+  rm -r "${pkgdir}"/usr/docs
+  install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \
+    "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: db/repos/staging-x86_64/db.install (from rev 192024, db/trunk/db.install)
===================================================================
--- staging-x86_64/db.install	                        (rev 0)
+++ staging-x86_64/db.install	2013-08-04 10:31:41 UTC (rev 192025)
@@ -0,0 +1,5 @@
+post_upgrade() {
+  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