# $Id: PKGBUILD 67002 2012-03-03 08:12:49Z ibiru $ # Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: Mathias Stearn # Contributor: Alec Thomas pkgname=mongodb pkgver=2.0.3 pkgrel=2 pkgdesc='A high-performance, open source, schema-free document-oriented database.' arch=('i686' 'x86_64') url='http://www.mongodb.org' license=('AGPL3') depends=('boost-libs') makedepends=('scons' 'boost') #checkdepends=('python2-pymongo') optdepends=('libpcap: needed for mongosniff') backup=('etc/mongodb.conf') install="mongodb.install" source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz" 'mongodb.rc' 'mongodb.conf') md5sums=('f588cae93196b94599ec50e3c4956592' '9c67e00f4626ad761a8f7d4e037a54d7' '4839fe1d638187ca3226e8267b947318') build() { export SCONSFLAGS="$MAKEFLAGS" cd mongodb-src-r${pkgver} # fix python name for smoke tests sed \ -e 's/python/&2/' \ -i SConstruct scons \ all \ --full } <