diff options
Diffstat (limited to 'system/ranger')
-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 d0515e3b13..1f6e0e1600 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 12749b954c..55050708cb 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 755fc8bec6..2dece57257 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="" |