summaryrefslogtreecommitdiff
path: root/system/rdiff-backup/rdiff-backup.SlackBuild
diff options
context:
space:
mode:
authorPaul Wisehart <wise@lupulin.net>2010-05-11 19:46:37 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:37 +0200
commit8ae1c839c1074077d405afb0ca6bfca7f8c4fc30 (patch)
treef60c628123e3b9cb347cc7a79b0fe005128a51f6 /system/rdiff-backup/rdiff-backup.SlackBuild
parentd5f2235f687e31ab09c32e9c92889e01d0eff1fe (diff)
downloadslackbuilds-8ae1c839c1074077d405afb0ca6bfca7f8c4fc30.tar.gz
system/rdiff-backup: Updated for version 1.0.5
Diffstat (limited to 'system/rdiff-backup/rdiff-backup.SlackBuild')
-rw-r--r--system/rdiff-backup/rdiff-backup.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/rdiff-backup/rdiff-backup.SlackBuild b/system/rdiff-backup/rdiff-backup.SlackBuild
index b929dcf195..2f884f57d2 100644
--- a/system/rdiff-backup/rdiff-backup.SlackBuild
+++ b/system/rdiff-backup/rdiff-backup.SlackBuild
@@ -43,8 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PKGNAME-$VERSION
-tar -xvzf $CWD/$PKGNAME-$VERSION.tar.gz || exit 1
-tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz || exit 1
+tar xvf $CWD/$PKGNAME-$VERSION.tar.gz || exit 1
cd $PKGNAME-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+rw,go-w+r .
@@ -54,8 +53,10 @@ sed -i 's|share/man/|man/|g' setup.py
python setup.py build
python setup.py install --prefix=/usr --root=$PKG
-find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+( 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
+)
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/doc/$PKGNAME-$VERSION $PKG/usr/doc