diff options
-rw-r--r-- | audio/tuxguitar/tuxguitar.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/tuxguitar/tuxguitar.SlackBuild b/audio/tuxguitar/tuxguitar.SlackBuild index 1842e45be695f..6c48f6fcaadee 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} |