aboutsummaryrefslogtreecommitdiff
path: root/misc/nfoview/nfoview.SlackBuild
diff options
context:
space:
mode:
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 735de0958306..aa95c13d59e6 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