aboutsummaryrefslogtreecommitdiff
path: root/network/wifite/wifite.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-01-21 21:43:04 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-24 00:21:45 +0000
commit3150f1f7c93050848e010e90452cbce299e12d76 (patch)
tree28dbd743581381b427e660d9cd86d99a243545ff /network/wifite/wifite.SlackBuild
parentee9885919c528c3329abb83a9c841da99ab0d0b0 (diff)
network/wifite: Updated for version 20150525_edbdedd.
Use specific commit instead of git master. Add doc. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/wifite/wifite.SlackBuild')
-rw-r--r--network/wifite/wifite.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/network/wifite/wifite.SlackBuild b/network/wifite/wifite.SlackBuild
index 5cc892f91bd1e..c46f6f85e715f 100644
--- a/network/wifite/wifite.SlackBuild
+++ b/network/wifite/wifite.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wifite
-VERSION=${VERSION:-1}
+VERSION=${VERSION:-20150525_edbdedd}
+COMMIT=${COMMIT:-edbdedd149254f58a99d2f53e5e9b8105c4c61bb}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,10 +39,16 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
+
mkdir -p $PKG/usr/bin
install -D -m 0775 wifite.py $PKG/usr/bin/wifite
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a readme.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install