diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-04-07 18:03:36 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-08 06:58:03 +0700 |
commit | 1b05d1e6bced7ee64b8e92630f94cec92c18d879 (patch) | |
tree | 1c12e08047d01d3995d2b667a747a00ad30bee49 /audio/tuxguitar/tuxguitar.SlackBuild | |
parent | d729b1a51cce27fbbc0fe242eb4e72fb5ca67e56 (diff) | |
download | slackbuilds-1b05d1e6bced7ee64b8e92630f94cec92c18d879.tar.gz |
audio/tuxguitar: Fixed seds for non-x86_64.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/tuxguitar/tuxguitar.SlackBuild')
-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 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} |