summaryrefslogtreecommitdiffstats
path: root/system/bleachbit/bleachbit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/bleachbit/bleachbit.SlackBuild')
-rw-r--r--system/bleachbit/bleachbit.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/system/bleachbit/bleachbit.SlackBuild b/system/bleachbit/bleachbit.SlackBuild
index 6654c0752a..5309956821 100644
--- a/system/bleachbit/bleachbit.SlackBuild
+++ b/system/bleachbit/bleachbit.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for bleachbit
#
# Copyright 2013-2018 Erwin van Zanten, Dordrecht, The Netherlands, Europe
-# Copyright 2018-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2018-2021 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 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bleachbit
-VERSION=${VERSION:-3.0}
+VERSION=${VERSION:-4.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,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 . \
@@ -70,9 +70,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Exclude the Windows-only cleaners from the source per author's instructions.
-grep -l os=.windows. cleaners/*xml | xargs rm -f
-
make
make install DESTDIR=$PKG prefix=/usr
@@ -80,7 +77,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp MANIFEST* COPYING PKG-INFO README* doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp COPYING README.md doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install