summaryrefslogtreecommitdiff
path: root/audio/tuxguitar/tuxguitar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tuxguitar/tuxguitar.SlackBuild')
-rw-r--r--audio/tuxguitar/tuxguitar.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/tuxguitar/tuxguitar.SlackBuild b/audio/tuxguitar/tuxguitar.SlackBuild
index 46a951c72c..bfe747a6b7 100644
--- a/audio/tuxguitar/tuxguitar.SlackBuild
+++ b/audio/tuxguitar/tuxguitar.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for TuxGuitar
#
-# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2013 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tuxguitar
-VERSION=1.1
+VERSION=1.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,6 +58,10 @@ chmod -R u+w,go+r-w,a-s .
# Manual install
mkdir -p $PKG/usr/bin
patch -p0 < $CWD/tuxguitar.patch # Fix the startup script
+if [ "$ARCH" == "x86_64" ] ; then
+ sed -i 's|/lib|/lib64|g' tuxguitar
+ sed -i 's|lib/|lib64/|g' tuxguitar
+fi
install -m 0755 tuxguitar $PKG/usr/bin/tuxguitar
mkdir -p $PKG/usr/share/{tuxguitar,pixmaps,applications}