diff options
author | Pierre Cazenave <pwcazenave at gmail {dot} com> | 2010-05-13 00:39:41 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:39:41 +0200 |
commit | 5d73a5d0bd4511eb00912550e991f593c9e5a41a (patch) | |
tree | 1aa9a91c431f9e7ade13f4ada40d40604faf7f2f /system/bleachbit/bleachbit.SlackBuild | |
parent | 4a0e22d91304d00686d6c6ea97422162f44d3e40 (diff) | |
download | slackbuilds-5d73a5d0bd4511eb00912550e991f593c9e5a41a.tar.gz |
system/bleachbit: Updated for version 0.6.3
Diffstat (limited to 'system/bleachbit/bleachbit.SlackBuild')
-rw-r--r-- | system/bleachbit/bleachbit.SlackBuild | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/system/bleachbit/bleachbit.SlackBuild b/system/bleachbit/bleachbit.SlackBuild index 35a5d7955a..93bd10672a 100644 --- a/system/bleachbit/bleachbit.SlackBuild +++ b/system/bleachbit/bleachbit.SlackBuild @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=bleachbit -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.6.3} ARCH=${ARCH:-noarch} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -39,25 +39,16 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . +chmod -R u+w,go+r-w,a-s . -# Ignore the Slackware package manager's directories -# Thanks to Andrew Ziew upstream for the quick response -patch -p1 < $CWD/patches/bleachbit-0.4.1-Unix.py.diff +# Exclude the Windows-only cleaners from the package as per author's +# instructions. +grep -l os=.windows. cleaners/*xml | xargs rm -f -# Make a launcher using this debian patch -patch -p1 < $CWD/patches/bleachbit-0.4.1-launcher.diff - -# Fix the icon in the .desktop file -sed -i -e 's|Icon=bleachbit.png|Icon=bleachbit|g' bleachbit.desktop - -python setup.py install --root $PKG -make -C po install DESTDIR=$PKG - -# Make the launcher executable by all -chmod 755 $PKG/usr/bin/bleachbit +make install DESTDIR=$PKG prefix=/usr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING PKG-INFO README doc/* $PKG/usr/doc/$PRGNAM-$VERSION @@ -69,4 +60,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |