From ec9d2014273ddf90b8afcb6796d7ae26059ab078 Mon Sep 17 00:00:00 2001 From: Chris Abela Date: Tue, 4 Oct 2011 00:52:32 -0500 Subject: network/loic: Fix building with recent monodevelop. Signed-off-by: Erik Hanson --- network/loic/loic.SlackBuild | 11 +++++++---- network/loic/loic.info | 2 +- 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" -- cgit v1.2.3