db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / db / trunk / PKGBUILD
blobfc7b25a67e17ce149efa12b5a82fd90aea37b389
1 # Maintainer: Frederik Schwan <freswa at archlinux dot org>
2 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
3 # Contributor: Allan McRae <allan@archlinux.org>
4 # Contributor: Andreas Radke <andyrtr@archlinux.org>
6 pkgname=db
7 pkgver=6.2.32
8 pkgrel=2
9 pkgdesc="The Berkeley DB embedded database system"
10 arch=(x86_64)
11 url='https://www.oracle.com/technology/software/products/berkeley-db/index.html'
12 license=(AGPL3)
13 depends=(gcc-libs sh)
14 source=(https://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
15 b2sums=('d3254fba1300d6c7dda5d872c5fa349e8704d71be9c4d37ccf3357782adeb879ce30e066cf083bd97554405c2e94071a96cee16090ad9f797a4fa657ff7e8c46')
17 build() {
18   cd ${pkgname}-${pkgver}/build_unix
19   ../dist/configure \
20     --prefix=/usr \
21     --enable-compat185 \
22     --enable-shared \
23     --enable-static \
24     --enable-cxx \
25     --enable-dbm \
26     --enable-stl
27   make LIBSO_LIBS=-lpthread
30 package() {
31   make -C ${pkgname}-${pkgver}/build_unix DESTDIR="${pkgdir}" install
32   rm -r "${pkgdir}"/usr/docs