summaryrefslogtreecommitdiff
path: root/network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild
diff options
context:
space:
mode:
authorAndre Fernando <ando344@gmail.com>2017-01-20 23:03:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-21 06:24:15 +0700
commita96abf1faf5c7f6fde80e1b1bcc12fe8aa84b610 (patch)
treeed6babf88f4474241e7e78cdec611c2c72f04026 /network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild
parentb1ca4d7ba934adb36a8f0455d00aa40e430d3e7b (diff)
downloadslackbuilds-a96abf1faf5c7f6fde80e1b1bcc12fe8aa84b610.tar.gz
network/social-engineer-toolkit: Updated for version 7.4.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild')
-rw-r--r--network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild b/network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild
index 85e0e3686f..c25b9c8e9e 100644
--- a/network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild
+++ b/network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for social-engineer-toolkit
-# Copyright 2016 Andre Fernando, Indonesia
+# Copyright 2016-2017 Andre Fernando, Indonesia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=social-engineer-toolkit
-VERSION=${VERSION:-7.4.3}
+VERSION=${VERSION:-7.4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,13 +58,9 @@ find -L . \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/share/$SRCDIR $PKG/usr/bin/
+mkdir -p $PKG/usr/bin
+mkdir -p $PKG/usr/share/$SRCDIR
cp -ar * $PKG/usr/share/$SRCDIR
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
(
cd $PKG
ln -sf /usr/share/setoolkit/setoolkit $PKG/usr/bin/setoolkit
@@ -73,6 +69,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
ln -sf /usr/share/setoolkit/seupdate $PKG/usr/bin/seupdate
)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc