diff --git a/network/LOIC/LOIC.SlackBuild b/network/LOIC/LOIC.SlackBuild index af18e24984..e97a1b1ad4 100644 --- a/network/LOIC/LOIC.SlackBuild +++ b/network/LOIC/LOIC.SlackBuild @@ -30,8 +30,8 @@ ############################################################################### PRGNAM=LOIC -SRCNAM=loic -VERSION=${VERSION:-1.1.1.25} +BINNAM=loic +VERSION=${VERSION:-2.0.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -45,27 +45,27 @@ OUTPUT=${OUTPUT:-/tmp} set -e rm -rf $PKG -mkdir -p $TMP $PKG/opt/LOIC $OUTPUT +mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION cd $PRGNAM-$VERSION -unzip $CWD/$SRCNAM.v$VERSION.zip +unzip $CWD/$PRGNAM\_$VERSION.zip chown -R root:root . -cp -a LOIC.exe $PKG/opt/LOIC +cp -a $PRGNAM.exe $PKG/opt/$PRGNAM # This is for GUI users mkdir -p $PKG/usr/share/{applications,pixmaps} -cat $CWD/LOIC.desktop > $PKG/usr/share/applications/LOIC.desktop +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop # This is a handy script for CLI users mkdir -p $PKG/usr/bin -cat > $PKG/usr/bin/loic << EOF +cat > $PKG/usr/bin/$BINNAM << EOF #!/bin/sh -mono /opt/LOIC/LOIC.exe +mono /opt/$PRGNAM/$PRGNAM.exe EOF -chmod 755 $PKG/usr/bin/loic +chmod 755 $PKG/usr/bin/$BINNAM mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION install -m0644 -oroot $CWD/README.WARNING $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/network/LOIC/LOIC.info b/network/LOIC/LOIC.info index 305df1a306..0d6c5a2118 100644 --- a/network/LOIC/LOIC.info +++ b/network/LOIC/LOIC.info @@ -1,8 +1,8 @@ PRGNAM="LOIC" -VERSION="1.1.1.25" +VERSION="2.0.0.4" HOMEPAGE="https://github.com/NewEraCracker/LOIC/" -DOWNLOAD="https://github.com/downloads/NewEraCracker/LOIC/loic.v1.1.1.25.zip" -MD5SUM="ae8fe2ec8064cb3f3e0765d2b6a8484e" +DOWNLOAD="https://github.com/NewEraCracker/LOIC/releases/download/2.0.0.4/LOIC_2.0.0.4.zip" +MD5SUM="48cb63d8e14e078a11d9e6f1e7b4856c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mono"