summaryrefslogtreecommitdiffstats
path: root/network/retroshare/retroshare.SlackBuild
diff options
context:
space:
mode:
author Alan Aversa2018-04-14 18:19:21 +0200
committer Willy Sudiarto Raharjo2018-04-21 02:42:56 +0200
commit54520f5c7be836f98e36f39d7a9cfb5c4f4e22db (patch)
tree32d09667f8dc8e9ed09b653760bb8b514fe7a69e /network/retroshare/retroshare.SlackBuild
parent7fc4f966afa9636a39e046df4e93dc4f21097197 (diff)
downloadslackbuilds-54520f5c7be836f98e36f39d7a9cfb5c4f4e22db.tar.gz
network/retroshare: Updated for version 0.6.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/retroshare/retroshare.SlackBuild')
-rw-r--r--network/retroshare/retroshare.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/network/retroshare/retroshare.SlackBuild b/network/retroshare/retroshare.SlackBuild
index 672e8622ba..1861c03e25 100644
--- a/network/retroshare/retroshare.SlackBuild
+++ b/network/retroshare/retroshare.SlackBuild
@@ -18,7 +18,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=retroshare
-VERSION=${VERSION:-0.6.3}
+VERSION=${VERSION:-0.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,12 @@ 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 {} \;
-qmake PREFIX=/usr LIB_DIR=/usr/lib${LIBDIRSUFFIX} "CONFIG-=debug" "CONFIG+=release"
+RETROTOR=${RETROTOR:-no}
+if [ $RETROTOR = yes ]; then
+ qmake-qt5 PREFIX=/usr LIB_DIR=/usr/lib${LIBDIRSUFFIX} "CONFIG-=debug" "CONFIG+=release" "CONFIG+=retrotor"
+else
+ qmake-qt5 PREFIX=/usr LIB_DIR=/usr/lib${LIBDIRSUFFIX} "CONFIG-=debug" "CONFIG+=release"
+fi
make
make INSTALL_ROOT=${PKG} install