summaryrefslogtreecommitdiff
path: root/network/uTox/uTox.SlackBuild
diff options
context:
space:
mode:
authorGethyn ThomasQuail <gethyn@bloodbathsoftworks.com>2015-12-25 06:35:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-25 06:35:56 +0700
commitde19d095323818cf611e1884e8b6a2fb2579df51 (patch)
tree677acaa98019a4c78169d5013101f5ca210dba6c /network/uTox/uTox.SlackBuild
parent73358011e00d0de83b0b2840d09582b80197d020 (diff)
downloadslackbuilds-de19d095323818cf611e1884e8b6a2fb2579df51.tar.gz
network/uTox: Updated for version 078fbf8d1a4e.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \