summaryrefslogtreecommitdiff
path: root/network/loic/loic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/loic/loic.SlackBuild')
-rw-r--r--network/loic/loic.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/network/loic/loic.SlackBuild b/network/loic/loic.SlackBuild
index b0b175fbcf..ae60a90dfd 100644
--- a/network/loic/loic.SlackBuild
+++ b/network/loic/loic.SlackBuild
@@ -30,7 +30,7 @@
PRGNAM=loic
VERSION=${VERSION:-v1.1.1.25}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch # Leave this alone
@@ -51,11 +51,14 @@ cd $PRGNAM-$VERSION
unzip $CWD/$PRGNAM.$VERSION.zip
chown -R root:root .
+if [ "$MONODEVELOP" = yes ] ;then
# This is only for those who want rebuild the binaries.
# They would need monodevelop.
-[ "$MONODEVELOP" = yes ] && mdtool -v build -p source/LOIC.sln
-
-cp -a debug $PKG/opt/loic
+ mdtool -v build -f source/LOIC.sln
+ cp -a source/bin/Debug $PKG/opt/loic
+else
+ cp -a debug $PKG/opt/loic
+fi
# This for GUI users
mkdir -p $PKG/usr/share/applications