diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-07-31 17:22:14 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-04 08:40:03 +0700 |
commit | 71989cab6ee88dd816f30fa0839313c803cf7629 (patch) | |
tree | 923650b31834a1e8c9b637071daa19c24494720a /system/bleachbit/bleachbit.SlackBuild | |
parent | 4c37f1042c4486e0cc46399536c263089324b661 (diff) | |
download | slackbuilds-71989cab6ee88dd816f30fa0839313c803cf7629.tar.gz |
system/bleachbit: Updated for version 2.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/bleachbit/bleachbit.SlackBuild')
-rw-r--r-- | system/bleachbit/bleachbit.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/system/bleachbit/bleachbit.SlackBuild b/system/bleachbit/bleachbit.SlackBuild index d3f54dcb13..0fec329a85 100644 --- a/system/bleachbit/bleachbit.SlackBuild +++ b/system/bleachbit/bleachbit.SlackBuild @@ -1,8 +1,9 @@ #!/bin/sh - +# # Slackware build script for bleachbit - -# Copyright 2013-2015 Erwin van Zanten, Dordrecht, The Netherlands, Europe +# +# Copyright 2013-2018 Erwin van Zanten, Dordrecht, The Netherlands, Europe +# Copyright 2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=bleachbit -VERSION=${VERSION:-1.12} +VERSION=${VERSION:-2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -79,7 +80,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 -a MANIFEST* COPYING PKG-INFO README* doc/* $PKG/usr/doc/$PRGNAM-$VERSION +cp MANIFEST* COPYING PKG-INFO README* doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |