diff options
author | David Woodfall <dave@dawoodfall.net> | 2018-01-02 22:46:38 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:55:24 +0700 |
commit | d7427ae422c99fbc7a8a63d404d3518017cd8d82 (patch) | |
tree | 66d3759522c1a1488738e409f06c223054c8b2f9 | |
parent | ad3eebfafb057fdecc72e6d74f30ac5e2ddfd86d (diff) |
system/ranger: Updated for version 1.9.0b6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | system/ranger/README | 11 | ||||
-rw-r--r-- | system/ranger/ranger.SlackBuild | 12 | ||||
-rw-r--r-- | system/ranger/ranger.info | 8 |
3 files changed, 22 insertions, 9 deletions
diff --git a/system/ranger/README b/system/ranger/README index d0515e3b1371..1f6e0e160085 100644 --- a/system/ranger/README +++ b/system/ranger/README @@ -2,5 +2,16 @@ A multi-column display allows viewing in a tree-like manner. You can preview the content of the selected file or directory, copy or move files around with the VIM-like commands dd and yy, execute predefined applications when opening a file, etc... + Everything is fully customizable and written in Python (2.7 and 3.1 compatible) using curses for the text-based user interface. + +Optional (but recommended) dependency: + +w3m for inline display of images. + +Options: + +To build for python3, use: + + PYTHON3=1 ./ranger.SlackBuild diff --git a/system/ranger/ranger.SlackBuild b/system/ranger/ranger.SlackBuild index 12749b954c73..55050708cbee 100644 --- a/system/ranger/ranger.SlackBuild +++ b/system/ranger/ranger.SlackBuild @@ -22,13 +22,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ranger -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.9.0b6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -39,8 +39,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -68,7 +68,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py install --root=$PKG +[ -n "$PYTHON3" ] && PY=3 + +python$PY setup.py install --root=$PKG mv $PKG/usr/share/man $PKG/usr diff --git a/system/ranger/ranger.info b/system/ranger/ranger.info index 755fc8bec69d..2dece572576f 100644 --- a/system/ranger/ranger.info +++ b/system/ranger/ranger.info @@ -1,8 +1,8 @@ PRGNAM="ranger" -VERSION="1.8.1" -HOMEPAGE="http://ranger.nongnu.org/" -DOWNLOAD="http://ranger.nongnu.org/ranger-1.8.1.tar.gz" -MD5SUM="4c10f47379b021dff061785bf342d0af" +VERSION="1.9.0b6" +HOMEPAGE="https://ranger.github.io" +DOWNLOAD="https://github.com/ranger/ranger/archive/v1.9.0b6/ranger-1.9.0b6.tar.gz" +MD5SUM="336547950d08f1a9edcbc6d8e8c62b35" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |