system/ranger: Updated for version 1.6.1.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
David Woodfall 2013-12-30 11:24:18 +01:00 committed by Erik Hanson
parent 614b0fd1c4
commit a758e7fbd8
2 changed files with 12 additions and 12 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Slackware build script for ranger # Slackware build script for ranger
# Copyright 2010-2011 David Woodfall <dave@dawoodfall.net> # Copyright 2013 David Woodfall <dave@dawoodfall.net>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ranger PRGNAM=ranger
VERSION=${VERSION:-1.5.3} VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -70,18 +70,18 @@ find -L . \
python setup.py install --root=$PKG 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 | 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 {} \; 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 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 mkdir -p $PKG/usr/doc
cp -a \ mv $PKG/usr/share/doc/ranger $PKG/usr/doc/$PRGNAM-$VERSION
CHANGELOG COPYING README doc/HACKING \ rm -fr $PKG/usr/share
doc/colorschemes.txt doc/print_colors.py doc/print_keys.py \ cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="ranger" PRGNAM="ranger"
VERSION="1.5.3" VERSION="1.6.1"
HOMEPAGE="http://ranger.nongnu.org/" HOMEPAGE="http://ranger.nongnu.org/"
DOWNLOAD="http://source.dawoodfall.net/ranger-1.5.3.tar.gz" DOWNLOAD="http://unrealize.co.uk/source/ranger-1.6.1.tar.gz"
MD5SUM="c3d286bf3123b1c2b9f1ff198dcde58d" MD5SUM="1062aa8b4f1e8d8eb5a03bc95a9a7ab6"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""