summaryrefslogtreecommitdiff
path: root/misc/rarcrack/rarcrack.SlackBuild
diff options
context:
space:
mode:
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