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 /network/LOIC/LOIC.SlackBuild | |
parent | 95ce6b89e55a02a721ae3032734ccbb9522af519 (diff) | |
download | slackbuilds-099e5790781452888ccd87a29c64f30dbfd302b9.tar.gz |
network/LOIC: Updated for version 2.0.0.4.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'network/LOIC/LOIC.SlackBuild')
-rw-r--r-- | network/LOIC/LOIC.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
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 |