summaryrefslogtreecommitdiff
path: root/community/mongodb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mongodb/PKGBUILD')
-rw-r--r--community/mongodb/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD
index c19206216..dde0f9f69 100644
--- a/community/mongodb/PKGBUILD
+++ b/community/mongodb/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mongodb
pkgver=1.8.2
-pkgrel=1
+pkgrel=2
pkgdesc='A high-performance, open source, schema-free document-oriented database.'
arch=('i686' 'x86_64')
url='http://www.mongodb.org'
@@ -18,8 +18,8 @@ source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz"
'mongodb.rc'
'mongodb.conf')
md5sums=('951fb1a75d90fc822cf4528585a970cf'
- '859f8f9bb32ef2bd21fec55ae9a87d0a'
- '9e0ea3f96732bb7811f0b64dace56440')
+ '85eaa28e349fdc6250f883624e624cca'
+ '4839fe1d638187ca3226e8267b947318')
build() {
export SCONSFLAGS="$MAKEFLAGS"
@@ -43,7 +43,8 @@ package() {
${pkgdir}/etc/rc.d/mongodb
install -D -m644 ${srcdir}/mongodb.conf \
${pkgdir}/etc/mongodb.conf
- install -d -m700 ${pkgdir}/var/state/mongodb
+ install -d -m700 ${pkgdir}/var/lib/mongodb
+ install -d -m755 ${pkgdir}/var/log/mongodb
if [ -d ${pkgdir}/usr/lib64 ]; then
mv ${pkgdir}/usr/lib64 ${pkgdir}/usr/lib