summaryrefslogtreecommitdiff
path: root/misc/rarcrack/rarcrack.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2019-12-07 20:13:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-07 20:13:36 +0700
commit5c87c42c77f3fc287f8c87a5e86146eb808625f3 (patch)
treebd5934f681ded7fa2b516dd86af88948d2dc70da /misc/rarcrack/rarcrack.SlackBuild
parent426a166ec43fce09ba56e2c7b94c819bea6bf2a8 (diff)
downloadslackbuilds-5c87c42c77f3fc287f8c87a5e86146eb808625f3.tar.gz
misc/rarcrack: Updated for version 0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/rarcrack/rarcrack.SlackBuild')
-rw-r--r--misc/rarcrack/rarcrack.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/rarcrack/rarcrack.SlackBuild b/misc/rarcrack/rarcrack.SlackBuild
index 478bc75f7e..c94a323103 100644
--- a/misc/rarcrack/rarcrack.SlackBuild
+++ b/misc/rarcrack/rarcrack.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for rarcrack.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=rarcrack
VERSION=${VERSION:-0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -77,10 +77,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
install -d $PKG/usr/bin
install -D -m755 rarcrack $PKG/usr/bin/rarcrack
-DOCS="CHANGELOG LICENSE README README.html RELEASE_NOTES"
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp CHANGELOG LICENSE README README.html RELEASE_NOTES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install