[arch-commits] Commit in lib32-db/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Thu Jan 29 15:09:16 UTC 2015
Date: Thursday, January 29, 2015 @ 16:09:15
Author: alucryd
Revision: 126746
FS#43624: lib32-db 5.3.28-2
Modified:
lib32-db/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-29 12:16:49 UTC (rev 126745)
+++ PKGBUILD 2015-01-29 15:09:15 UTC (rev 126746)
@@ -1,5 +1,5 @@
# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
# Contributor: Allan McRae <allan at archlinux.org>
# Contributor: Andreas Radke <andyrtr at archlinux.org>
@@ -6,34 +6,41 @@
pkgname=lib32-db
pkgver=5.3.28
-pkgrel=1
+pkgrel=2
pkgdesc='The Berkeley DB embedded database system'
arch=('x86_64')
url='http://www.oracle.com/technology/software/products/berkeley-db/index.html'
license=('custom')
-depends=("${pkgname#*-}=${pkgver}" 'gcc-libs-multilib')
+depends=("db=${pkgver}" 'lib32-gcc-libs')
+makedepends=('gcc-multilib')
source=("http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz")
sha256sums=('e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628')
build() {
- cd ${pkgname#*-}-${pkgver}/build_unix
+ cd db-${pkgver}/build_unix
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
- ../dist/configure --prefix='/usr' --libdir='/usr/lib32' --enable-{compat185,cxx,dbm,shared}
+ ../dist/configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32' \
+ --enable-compat185 \
+ --enable-cxx \
+ --enable-dbm \
+ --enable-shared
make LIBSO_LIBS='-lpthread'
}
package() {
- cd ${pkgname#*-}-${pkgver}/build_unix
+ cd db-${pkgver}/build_unix
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,docs,include,share}
install -dm 755 "${pkgdir}"/usr/share/licenses
- ln -s ${pkgname#*-} "${pkgdir}"/usr/share/licenses/${pkgname}
+ ln -s db "${pkgdir}"/usr/share/licenses/lib32-db
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list