mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
network/LOIC: Updated for version 2.0.0.4.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
parent
95ce6b89e5
commit
099e579078
2 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue