summaryrefslogtreecommitdiff
path: root/misc/nfoview
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-06-11 13:57:57 -0500
committerErik Hanson <erik@slackbuilds.org>2010-06-11 14:00:06 -0500
commit1b08c1aa3ce0a9d36ae01fa9a2a14ee6b4aadc12 (patch)
tree491d2099208fe9273cac20ed603dd2845a359e51 /misc/nfoview
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')
-rw-r--r--misc/nfoview/README3
-rw-r--r--misc/nfoview/nfoview.SlackBuild6
2 files changed, 2 insertions, 7 deletions
diff --git a/misc/nfoview/README b/misc/nfoview/README
index a51aa406ea..db2c399159 100644
--- a/misc/nfoview/README
+++ b/misc/nfoview/README
@@ -2,6 +2,3 @@ NFO Viewer is a simple viewer for NFO files, which are "ASCII" art
in the CP437 codepage. The advantages of using NFO Viewer instead
of a text editor are preset font and encoding settings, automatic
window size and clickable hyperlinks.
-
-Note: The preferences dialog does not display due to the outdated
-GTK+ in Slackware 13.0.
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