[arch-commits] Commit in couchdb/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Wed Dec 7 16:07:36 UTC 2016
Date: Wednesday, December 7, 2016 @ 16:07:35
Author: spupykin
Revision: 198295
upgpkg: couchdb 2.0.0-4
upd
Modified:
couchdb/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-07 15:57:13 UTC (rev 198294)
+++ PKGBUILD 2016-12-07 16:07:35 UTC (rev 198295)
@@ -5,7 +5,7 @@
pkgname=couchdb
pkgver=2.0.0
-pkgrel=3
+pkgrel=4
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"
@@ -13,7 +13,8 @@
depends=('icu' 'erlang-nox' 'js185' 'openssl' 'curl' 'util-linux')
makedepends=('autoconf-archive' 'git')
install=couchdb.install
-backup=('etc/couchdb/local.ini')
+backup=('etc/couchdb/local.ini'
+ 'etc/couchdb/vm.args')
validpgpkeys=('E0AF0A194D55C84E4A19A801CDB0C0F904F4EE9B'
'D2B17F9DA23C0A10991AF2E3D9EE01E47852AEE4')
source=("http://www.eu.apache.org/dist/couchdb/source/$pkgver/apache-couchdb-$pkgver.tar.gz"{,.asc}
@@ -26,6 +27,11 @@
'1e254ebe32eeb061be64193bafa35dbf'
'cd649a705805e6193ae72aea33a2e4bd')
+prepare() {
+ cd "$srcdir/apache-couchdb-$pkgver"
+ sed -i 's|$ROOTDIR/etc/vm.args|/etc/couchdb/vm.args|' rel/overlay/bin/couchdb
+}
+
build() {
cd "$srcdir/apache-couchdb-$pkgver"
./configure
@@ -40,6 +46,7 @@
cp -r rel/couchdb "$pkgdir"/usr/lib/couchdb
mv "$pkgdir"/usr/lib/couchdb/etc/local.ini "$pkgdir"/etc/couchdb/local.ini
+ mv "$pkgdir"/usr/lib/couchdb/etc/vm.args "$pkgdir"/etc/couchdb/vm.args
# use system erts
rm -rf "$pkgdir"/usr/lib/couchdb/erts-*
More information about the arch-commits
mailing list