# Maintainer: Markus M. May <triplem@tu.archserver.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributorr: eric <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=tdb
pkgver=1.2.1
pkgrel=1
pkgdesc="A Trivia Database similar to GDBM but allows simultaneous commits"
arch=(i686 x86_64)
license=('GPL3')
url="http://tdb.samba.org/"
source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
makedepends=('python')
optdepends=('python: for python bindings')
options=(force)

build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr \
               --localstatedir=/var \
               --sysconfdir=/etc/samba
   make
   make DESTDIR=$pkgdir/ install
}
md5sums=('73ea81282a82e5c959d9c082af2d0215')
