From 1b05d1e6bced7ee64b8e92630f94cec92c18d879 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 7 Apr 2017 18:03:36 +0200 Subject: audio/tuxguitar: Fixed seds for non-x86_64. Signed-off-by: Matteo Bernardini --- audio/tuxguitar/tuxguitar.SlackBuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/audio/tuxguitar/tuxguitar.SlackBuild b/audio/tuxguitar/tuxguitar.SlackBuild index 1842e45be6..6c48f6fcaa 100644 --- a/audio/tuxguitar/tuxguitar.SlackBuild +++ b/audio/tuxguitar/tuxguitar.SlackBuild @@ -65,11 +65,13 @@ mkdir -p $PKG/usr/bin if [ "$ARCH" == "x86_64" ] ; then sed -i 's|/lib|/lib64|g' tuxguitar.sh sed -i 's|lib/|lib64/|g' tuxguitar.sh - sed -i 's|./share/|/usr/share/tuxguitar/|g' tuxguitar.sh - sed -i 's|./dist/|/usr/share/tuxguitar/dist/|g' tuxguitar.sh sed -i 's|\./lib64|/usr/lib64|g' tuxguitar.sh - sed -i 's|\"share/\"|\"/usr/share/tuxguitar/\"|g' tuxguitar.sh +else + sed -i 's|\./lib/|/usr/lib/|g' tuxguitar.sh fi +sed -i 's|./share/|/usr/share/tuxguitar/|g' tuxguitar.sh +sed -i 's|./dist/|/usr/share/tuxguitar/dist/|g' tuxguitar.sh +sed -i 's|\"share/\"|\"/usr/share/tuxguitar/\"|g' tuxguitar.sh install -m 0755 tuxguitar.sh $PKG/usr/bin/tuxguitar mkdir -p $PKG/usr/share/{applications,pixmaps} -- cgit v1.2.3