summaryrefslogtreecommitdiff
path: root/network/rtorrent/rtorrent.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-22 23:51:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-22 23:51:00 +0700
commit11d40c4532bd840ee3be6a4b7c543240753a6f1d (patch)
treec10ed7d1f2564969b5e2eb4452e0d88ca515d1e5 /network/rtorrent/rtorrent.SlackBuild
parent7c28100481d2b55d98ca6b55460d4be34da0d3a3 (diff)
downloadslackbuilds-11d40c4532bd840ee3be6a4b7c543240753a6f1d.tar.gz
network/rtorrent: Updated for version 0.9.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/rtorrent/rtorrent.SlackBuild')
-rw-r--r--network/rtorrent/rtorrent.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/network/rtorrent/rtorrent.SlackBuild b/network/rtorrent/rtorrent.SlackBuild
index 3a35beefbe..b669bd769d 100644
--- a/network/rtorrent/rtorrent.SlackBuild
+++ b/network/rtorrent/rtorrent.SlackBuild
@@ -11,8 +11,8 @@
# Updated to 0.9.0 by Brian Kysela 2011-12-12
PRGNAM=rtorrent
-VERSION=0.9.0
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,7 +55,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
LDFLAGS="-lpthread" \
CFLAGS="$SLKCFLAGS" \
@@ -76,13 +76,11 @@ make install DESTDIR=$PKG
# 'man_MANS = rtorrent.1' as well as the line below.
#gzip -9 $PKG/usr/man/man?/*.?
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL README doc/rtorrent.rc \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL README doc/rtorrent.rc $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild