diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2016-06-01 22:15:41 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-04 01:20:41 +0700 |
commit | 099e5790781452888ccd87a29c64f30dbfd302b9 (patch) | |
tree | f24e9d3f45ab785c1495824f544719c74aec6b2c | |
parent | 95ce6b89e55a02a721ae3032734ccbb9522af519 (diff) |
network/LOIC: Updated for version 2.0.0.4.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
-rw-r--r-- | network/LOIC/LOIC.SlackBuild | 18 | ||||
-rw-r--r-- | network/LOIC/LOIC.info | 6 |
2 files changed, 12 insertions, 12 deletions
diff --git a/network/LOIC/LOIC.SlackBuild b/network/LOIC/LOIC.SlackBuild index af18e2498495c..e97a1b1ad4483 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 305df1a306566..0d6c5a2118602 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" |