aboutsummaryrefslogtreecommitdiff
path: root/network/guacamole-client/guacamole-client.SlackBuild
diff options
context:
space:
mode:
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 7732e113d1775..e8b6a70ed0475 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/