summaryrefslogtreecommitdiffstats
path: root/network/uTox/uTox.SlackBuild
diff options
context:
space:
mode:
author Christoph Willing2018-04-20 05:33:30 +0200
committer Willy Sudiarto Raharjo2018-04-21 02:43:03 +0200
commit939d1d5c015b22a869fd36a8647e688ca12552d5 (patch)
tree0e138a19268a71e2cf5459dd8ddd05ee5d001a66 /network/uTox/uTox.SlackBuild
parentf2adb16c3f296f39571d56f611fe7342357fe622 (diff)
downloadslackbuilds-939d1d5c015b22a869fd36a8647e688ca12552d5.tar.gz
network/uTox: Updated for version 0.17.0
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'network/uTox/uTox.SlackBuild')
-rw-r--r--network/uTox/uTox.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/network/uTox/uTox.SlackBuild b/network/uTox/uTox.SlackBuild
index df451c0ccf..f7c9185db5 100644
--- a/network/uTox/uTox.SlackBuild
+++ b/network/uTox/uTox.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for uTox
#
# Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com>
-# Copyright 2016-2017 Christoph Willing Brisbane, Australia
+# Copyright 2016-2018 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -19,7 +19,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=uTox
-VERSION=${VERSION:-0.16.1.0git20180402}
+VERSION=${VERSION:-0.17.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,9 +55,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf ${PRGNAM}-${VERSION}
+tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
+cd ${PRGNAM}-${VERSION}
+tar xvf $CWD/${PRGNAM}ThirdParty-${VERSION}.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -65,8 +66,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Use GTK2 as default
-[ "${GTK3:-no}" != "yes" ] && patch -p0 < $CWD/gtk2.diff
+# Optionally use GTK2
+[ "${GTK2:-no}" != "no" ] && patch -p0 < $CWD/gtk2.diff
mkdir -p build
cd build