aboutsummaryrefslogtreecommitdiff
path: root/system/ranger/ranger.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ranger/ranger.SlackBuild')
-rw-r--r--system/ranger/ranger.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/ranger/ranger.SlackBuild b/system/ranger/ranger.SlackBuild
index 7dc7255e28144..da330af2ac8f2 100644
--- a/system/ranger/ranger.SlackBuild
+++ b/system/ranger/ranger.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for ranger
-# Copyright 2010-2011 David Woodfall <dave@dawoodfall.net>
+# Copyright 2013 David Woodfall <dave@dawoodfall.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ranger
-VERSION=${VERSION:-1.5.3}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,18 +70,18 @@ find -L . \
python setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+mv $PKG/usr/share/man $PKG/usr
+
+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
-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 \
- CHANGELOG COPYING README doc/HACKING \
- doc/colorschemes.txt doc/print_colors.py doc/print_keys.py \
- $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/share/doc/ranger $PKG/usr/doc/$PRGNAM-$VERSION
+rm -fr $PKG/usr/share
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install