aboutsummaryrefslogtreecommitdiff
path: root/system/python-ranger/python-ranger.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2010-07-31 21:37:06 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-31 21:37:06 -0500
commita3637a27705f14c4c361aa55966bcf3dbbf363c8 (patch)
tree2892443e4e6a6013a7025664759d5fd86898d814 /system/python-ranger/python-ranger.SlackBuild
parent2438a2e78c2d3114f84f6b2d187139b61a118030 (diff)
system/python-ranger: Updated for version 1.1.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/python-ranger/python-ranger.SlackBuild')
-rw-r--r--system/python-ranger/python-ranger.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/python-ranger/python-ranger.SlackBuild b/system/python-ranger/python-ranger.SlackBuild
index aa18785282a1d..9adb4931bf4fb 100644
--- a/system/python-ranger/python-ranger.SlackBuild
+++ b/system/python-ranger/python-ranger.SlackBuild
@@ -23,7 +23,7 @@
SRCNAM=ranger
PRGNAM=python-$SRCNAM
-VERSION=${VERSION:-1.1.1}
+VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,18 +69,18 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sed 's/share\/man/man/' -i setup.py #tsk
python setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README HACKING TODO INSTALL CHANGELOG COPYING \
+ CHANGELOG COPYING HACKING INSTALL README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild