From 1b08c1aa3ce0a9d36ae01fa9a2a14ee6b4aadc12 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Fri, 11 Jun 2010 13:57:57 -0500 Subject: 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 --- misc/nfoview/README | 3 --- misc/nfoview/nfoview.SlackBuild | 6 ++---- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'misc/nfoview') 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 -- cgit v1.2.3