aboutsummaryrefslogtreecommitdiff
path: root/network/guacamole-client/guacamole-client.SlackBuild
diff options
context:
space:
mode:
authorZhu Qun-Ying <zhu.qunying@gmail.com>2018-02-02 20:37:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-02 20:37:02 +0700
commit0de850fa0908c15b700a0dccd0d4ddca74d66aa5 (patch)
treef1bd1615c9fb481967847dc8cd16a7267dee9fc9 /network/guacamole-client/guacamole-client.SlackBuild
parent9f6b9d738d707c582946e483b62f91e6b9cef688 (diff)
network/guacamole-client: Updated for version 0.9.14.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/guacamole-client/guacamole-client.SlackBuild')
-rw-r--r--network/guacamole-client/guacamole-client.SlackBuild19
1 files changed, 3 insertions, 16 deletions
diff --git a/network/guacamole-client/guacamole-client.SlackBuild b/network/guacamole-client/guacamole-client.SlackBuild
index 7732e113d177..e8b6a70ed047 100644
--- a/network/guacamole-client/guacamole-client.SlackBuild
+++ b/network/guacamole-client/guacamole-client.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for guacamole-client
-# Copyright 2015 Zhu Qun-Ying
+# Copyright 2015-2017 Zhu Qun-Ying
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=guacamole-client
-VERSION=${VERSION:-0.9.9}
+VERSION=${VERSION:-0.9.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,7 +34,6 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-MAVEN=/usr/share/maven/bin/mvn
TOMCATUSER=${TOMCATUSER:-tomcat}
TOMCATGROUP=${TOMCATGROUP:-tomcat}
@@ -60,22 +59,10 @@ TOMCATHOME=`grep $TOMCATUSER /etc/passwd | awk -F : '{print $6}'`
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-$MAVEN package
mkdir -p $PKG/usr/share/lib/guacamole
-cp guacamole/target/guacamole-${VERSION}.war $PKG/usr/share/lib/guacamole
+cp $CWD/guacamole-${VERSION}.war $PKG/usr/share/lib/guacamole
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README LICENSE CONTRIBUTING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/guacamole/