aboutsummaryrefslogtreecommitdiff
path: root/development/couchdb/couchdb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/couchdb/couchdb.SlackBuild')
-rw-r--r--development/couchdb/couchdb.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/development/couchdb/couchdb.SlackBuild b/development/couchdb/couchdb.SlackBuild
index 9d840835184e5..9a33c9cdded73 100644
--- a/development/couchdb/couchdb.SlackBuild
+++ b/development/couchdb/couchdb.SlackBuild
@@ -6,7 +6,7 @@
# Heavily modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=couchdb
-VERSION=0.10.1
+VERSION=0.11.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -16,12 +16,12 @@ PKGSRC=apache-couchdb
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
## couchdb user & group *MUST* exist before package creation
# See http://slackbuilds.org/uid_gid.txt for current recomendations.
bailout() {
- printf " The couchdb user and group do not exist.
+ printf " The couchdb user and group do not exist.
You should create it/them with the following:
groupadd -g 231 couchdb
useradd -u 231 -g couchdb -d /var/lib/couchdb -s /bin/sh couchdb\n"
@@ -44,11 +44,11 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
-fi
+fi
set -e
-rm -rf $PKG
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PKGSRC-$VERSION
cd $TMP
@@ -101,7 +101,7 @@ mv $PKG/etc/logrotate.d/couchdb $PKG/etc/logrotate.d/couchdb.new
( cd $PKG/usr/man || exit 1
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \