diff options
author | Stylianos Tsampas <ztsampas@otenet.gr> | 2010-05-12 17:43:09 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:43:09 +0200 |
commit | b8acdcfadf3c3292de14e656f069bb7f2232aba0 (patch) | |
tree | a5e52ace8c0b15735149cf2f937ac411841ea31c /network/deluge/deluge.SlackBuild | |
parent | b818df306ed222706660e290e44dbdc3e57f343b (diff) |
network/deluge: Updated for version 1.1.0
Diffstat (limited to 'network/deluge/deluge.SlackBuild')
-rw-r--r-- | network/deluge/deluge.SlackBuild | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/network/deluge/deluge.SlackBuild b/network/deluge/deluge.SlackBuild index eb1d191787ab5..7039aa6f84e1d 100644 --- a/network/deluge/deluge.SlackBuild +++ b/network/deluge/deluge.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for deluge 1.0.2 +# Slackware build script for deluge # Written by Stylianos Tsampas (ztsampas@otenet.gr) # # Redistribution and use of this script, with or without modification, is @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=deluge -VERSION=${VERSION:-1.0.2} +VERSION=${VERSION:-1.1.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,11 +39,13 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -58,20 +60,22 @@ python setup.py build || exit 1 python setup.py install --root=$PKG || exit 1 -install -D -m644 deluge/data/pixmaps/deluge.svg $PKG/usr/share/pixmaps/deluge.svg - - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE ChangeLog* README $PKG/usr/doc/$PRGNAM-$VERSION - ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs strip -g 2> /dev/null ) +mkdir -p $PKG/usr/man +mv $PKG/usr/share/man/man1 $PKG/usr/man +rm -r $PKG/usr/share/man +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE ChangeLog* README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |