summaryrefslogtreecommitdiffstats
path: root/network/uTox/uTox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/uTox/uTox.SlackBuild')
-rw-r--r--network/uTox/uTox.SlackBuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/network/uTox/uTox.SlackBuild b/network/uTox/uTox.SlackBuild
index 3a55332fcc..967b6407e8 100644
--- a/network/uTox/uTox.SlackBuild
+++ b/network/uTox/uTox.SlackBuild
@@ -5,6 +5,9 @@
# Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com>
# All rights reserved.
#
+# Tiny bit of shell from:
+# Wine SlackBuild by David Woodfall Copyright 2011
+#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
@@ -18,7 +21,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=uTox
-VERSION=${VERSION:-0.4.5}
+VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,8 +67,16 @@ 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 {} \;
+# Fixes man install directory
patch -p1 < $CWD/locationfix.diff
+# Build with GTK2 by default
+GTK3=${GTK3:-NO}
+
+if [ "$GTK3" = "NO" ]; then
+ patch -p1 < $CWD/gtk2.diff
+fi
+
make
make DESTDIR=$PKG \
PREFIX=/usr \