# $Id: PKGBUILD 48158 2009-07-31 20:40:48Z tpowa $ # Maintainer: eric # Contributor: Tom Newsom pkgname=tdb pkgver=3.3.7 pkgrel=1 # We use the 'A' to fake out pacman's version comparators. Samba chooses # to append 'a','b',etc to their subsequent releases, which pamcan # misconstrues as alpha, beta, etc. Bad samba! _realver=3.3.7 pkgdesc="A Trivia Database similar to GDBM but allows simultaneous commits" arch=(i686 x86_64) license=('GPL3') url="www.samba.org" source=(http://us1.samba.org/samba/ftp/samba-${_realver}.tar.gz) options=(!makeflags) build() { cd ${srcdir}/samba-${_realver}/source/lib/tdb ./autogen.sh ./configure --prefix=/usr make || return 1 make DESTDIR=$startdir/pkg install ln -sf /usr/lib/libtdb.so.1.1.2 ${pkgdir}/usr/lib/libtdb.so.1 ln -sf /usr/lib/libtdb.so.1.1.2 ${pkgdir}/usr/lib/libtdb.so } md5sums=('bc7228cc686986353df67ff42b1b2b1e')