summaryrefslogtreecommitdiff
path: root/system/python-ranger/python-ranger.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/python-ranger/python-ranger.SlackBuild')
-rw-r--r--system/python-ranger/python-ranger.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/python-ranger/python-ranger.SlackBuild b/system/python-ranger/python-ranger.SlackBuild
index b7d4a3e7de..98af7e82fe 100644
--- a/system/python-ranger/python-ranger.SlackBuild
+++ b/system/python-ranger/python-ranger.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for python-ranger
-# Copyright 2010 David Woodfall <dave@dawoodfall.net>
+# Copyright 2010-2011 David Woodfall <dave@dawoodfall.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,12 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=ranger
-PRGNAM=python-$SRCNAM
-VERSION=${VERSION:-1.2.1}
+PRGNAM=python-ranger
+VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=$(echo $PRGNAM | cut -d- -f2)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -80,7 +81,8 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGELOG COPYING HACKING INSTALL README TODO \
+CHANGELOG COPYING INSTALL README doc/HACKING doc/TODO \
+doc/colorschemes.txt doc/print_colors.py doc/print_keys.py \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild