summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2011-10-04 00:52:32 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-10-11 21:20:26 -0500
commitec9d2014273ddf90b8afcb6796d7ae26059ab078 (patch)
tree948d89782d64427686e9eca20249c6701e81b738
parente01121e14325b5eb15626c51252d781400195f52 (diff)
downloadslackbuilds-ec9d2014273ddf90b8afcb6796d7ae26059ab078.tar.gz
network/loic: Fix building with recent monodevelop.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--network/loic/loic.SlackBuild11
-rw-r--r--network/loic/loic.info2
2 files changed, 8 insertions, 5 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
diff --git a/network/loic/loic.info b/network/loic/loic.info
index ca9bb64ddd..ef13c4d9b0 100644
--- a/network/loic/loic.info
+++ b/network/loic/loic.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Chris Abela"
EMAIL="kristofru@gmail.com"
-APPROVED="dsomero"
+APPROVED="dsomero,Erik Hanson"