diff options
author | David Woodfall <dave@dawoodfall.net> | 2013-12-30 11:24:18 +0100 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-07 11:13:06 -0600 |
commit | a758e7fbd8809c18f000b2980904088c71f8136c (patch) | |
tree | 02a2df1e16ee1ad35e0f5ce7945eebd41969b5c7 /system/ranger/ranger.SlackBuild | |
parent | 614b0fd1c425ad5ce6cc6030b4a5d549f4235b62 (diff) | |
download | slackbuilds-a758e7fbd8809c18f000b2980904088c71f8136c.tar.gz |
system/ranger: Updated for version 1.6.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/ranger/ranger.SlackBuild')
-rw-r--r-- | system/ranger/ranger.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/system/ranger/ranger.SlackBuild b/system/ranger/ranger.SlackBuild index 7dc7255e28..da330af2ac 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 |