mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
933 B
Bash
28 lines
933 B
Bash
# $Id: PKGBUILD 48158 2009-07-31 20:40:48Z tpowa $
|
|
# Maintainer: eric <eric@archlinux.org>
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
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')
|