summaryrefslogtreecommitdiffstats
path: root/misc/nfoview/nfoview.SlackBuild
diff options
context:
space:
mode:
author Erik Hanson2010-06-11 20:57:57 +0200
committer Erik Hanson2010-06-11 21:00:06 +0200
commit1b08c1aa3ce0a9d36ae01fa9a2a14ee6b4aadc12 (patch)
tree491d2099208fe9273cac20ed603dd2845a359e51 /misc/nfoview/nfoview.SlackBuild
parent3c118dfc8b53a0cb6ea43d96b41d07c8267db8a9 (diff)
downloadslackbuilds-1b08c1aa3ce0a9d36ae01fa9a2a14ee6b4aadc12.tar.gz
misc/nfoview: Small fix and cleanups.
Use --root instead of --prefix, fixes crash after $TMP cleanup. Remove 13.0-related lines from README. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc/nfoview/nfoview.SlackBuild')
-rw-r--r--misc/nfoview/nfoview.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/nfoview/nfoview.SlackBuild b/misc/nfoview/nfoview.SlackBuild
index 735de09583..aa95c13d59 100644
--- a/misc/nfoview/nfoview.SlackBuild
+++ b/misc/nfoview/nfoview.SlackBuild
@@ -24,15 +24,13 @@
PRGNAM=nfoview
VERSION=1.9
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -67,7 +65,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-python setup.py install --prefix=$PKG/usr
+python setup.py install --root $PKG
# This doesn't seem to belong...
rm -f $PKG/usr/share/applications/mimeinfo.cache