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>
9 pkgdesc="The Berkeley DB embedded database system"
11 url='https://www.oracle.com/technology/software/products/berkeley-db/index.html'
14 source=(https://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
15 b2sums=('d3254fba1300d6c7dda5d872c5fa349e8704d71be9c4d37ccf3357782adeb879ce30e066cf083bd97554405c2e94071a96cee16090ad9f797a4fa657ff7e8c46')
18 cd ${pkgname}-${pkgver}/build_unix
27 make LIBSO_LIBS=-lpthread
31 make -C ${pkgname}-${pkgver}/build_unix DESTDIR="${pkgdir}" install
32 rm -r "${pkgdir}"/usr/docs