summaryrefslogtreecommitdiff
path: root/community/couchdb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/couchdb/PKGBUILD')
-rw-r--r--community/couchdb/PKGBUILD30
1 files changed, 13 insertions, 17 deletions
diff --git a/community/couchdb/PKGBUILD b/community/couchdb/PKGBUILD
index 276e62de3..9ea90c437 100644
--- a/community/couchdb/PKGBUILD
+++ b/community/couchdb/PKGBUILD
@@ -1,37 +1,33 @@
-# $Id: PKGBUILD 93089 2013-06-24 09:55:10Z spupykin $
+# $Id: PKGBUILD 93137 2013-06-25 15:46:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
pkgname=couchdb
-pkgver=1.2.2
-pkgrel=4
+pkgver=1.4.0pre
+pkgrel=1
pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON"
arch=('i686' 'x86_64')
url="http://couchdb.apache.org"
license=('APACHE')
-depends=('icu' 'erlang' 'js185' 'openssl' 'curl')
+depends=('icu' 'erlang-nox' 'js185' 'openssl' 'curl')
+makedepends=('autoconf-archive' 'git')
install=couchdb.install
options=('!libtool')
backup=('etc/couchdb/local.ini'
'etc/conf.d/couchdb'
'etc/logrotate.d/couchdb')
-source=("http://www.sai.msu.su/apache/couchdb/source/$pkgver/apache-couchdb-$pkgver.tar.gz"{,.asc}
+#source=("http://www.sai.msu.su/apache/couchdb/source/$pkgver/apache-couchdb-$pkgver.tar.gz"{,.asc}
+source=("git://github.com/apache/couchdb.git#commit=8d7ab8b18dd20f8785e69f4420c6f93a2edbfa60"
"couchdb.service"
- "couchdb.tmpfiles"
- "build-fix.patch"
- "erlang-r16b01.patch")
-md5sums=('6cc49c22fadcf7d8cf8aa34dae71b203'
- 'SKIP'
+ "couchdb.tmpfiles")
+md5sums=('SKIP'
'8914a7ffc6745f94106d96206709acb4'
- '1e254ebe32eeb061be64193bafa35dbf'
- '71afe48505dfc07ba2091786b4650fa2'
- '5ee0105a72b841de4d9c19d0fd2508e0')
+ '1e254ebe32eeb061be64193bafa35dbf')
build() {
- cd "$srcdir/apache-$pkgname-$pkgver"
- patch -p1 <$srcdir/build-fix.patch
- patch -p1 <$srcdir/erlang-r16b01.patch
+ cd "$srcdir/couchdb"
+ ./bootstrap
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
@@ -39,7 +35,7 @@ build() {
}
package() {
- cd "$srcdir/apache-$pkgname-$pkgver"
+ cd "$srcdir/couchdb"
make DESTDIR="$pkgdir" install
install -Dm644 etc/default/couchdb $pkgdir/etc/conf.d/couchdb