summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:37:33 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:37:33 (GMT)
commit7c4e6551e9fd7b868e1234e1030b47fbb11f7771 (patch)
tree5243299e47ea4ef2517bc18bea17f3e167f0639c /abs
parent57d7514da33087d643d95a4f24683833d42a15bf (diff)
downloadlinhes_pkgbuild-7c4e6551e9fd7b868e1234e1030b47fbb11f7771.zip
linhes_pkgbuild-7c4e6551e9fd7b868e1234e1030b47fbb11f7771.tar.gz
linhes_pkgbuild-7c4e6551e9fd7b868e1234e1030b47fbb11f7771.tar.bz2
db 5.3.21
Diffstat (limited to 'abs')
-rw-r--r--abs/core/db/PKGBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/abs/core/db/PKGBUILD b/abs/core/db/PKGBUILD
index cbe2bea..937e1f9 100644
--- a/abs/core/db/PKGBUILD
+++ b/abs/core/db/PKGBUILD
@@ -1,12 +1,11 @@
-# $Id: PKGBUILD 98547 2010-11-11 03:57:51Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
+# $Id: PKGBUILD 160636 2012-06-02 22:25:49Z allan $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=db
-pkgver=5.1.19
-_basever=5.1.19
-pkgrel=3
-epoch=1
+pkgver=5.3.21
+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"
@@ -14,20 +13,20 @@ license=('custom')
depends=('gcc-libs' 'sh')
options=('!libtool')
install=db.install
-source=(http://download-uk.oracle.com/berkeley-db/db-${_basever}.tar.gz)
-md5sums=('76fcbfeebfcd09ba0b4d96bfdf8d884d')
+source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
+sha1sums=('32e43c4898c8996750c958a90c174bd116fcba83')
build() {
- cd ${srcdir}/$pkgname-${_basever}/build_unix
+ cd "${srcdir}"/$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-${_basever}/build_unix
- make DESTDIR=${pkgdir} install
- rm -rf ${pkgdir}/usr/docs
- install -Dm644 ${srcdir}/${pkgname}-${_basever}/LICENSE \
- ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ cd "${srcdir}"/$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
}