From 7f58a05f60fa53a2606a012bee0d39c80fadd843 Mon Sep 17 00:00:00 2001 From: Antonio Leal Date: Sun, 27 Oct 2024 17:37:10 +0000 Subject: audio/tuxguitar: Updated script Signed-off-by: Willy Sudiarto Raharjo --- audio/tuxguitar/slack-desc | 2 +- audio/tuxguitar/tuxguitar.SlackBuild | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'audio') diff --git a/audio/tuxguitar/slack-desc b/audio/tuxguitar/slack-desc index d93a87d6cc..9e7069b02f 100644 --- a/audio/tuxguitar/slack-desc +++ b/audio/tuxguitar/slack-desc @@ -12,7 +12,7 @@ tuxguitar: TuxGuitar is a multitrack guitar tablature editor and player tuxguitar: written in Java-SWT. It can open GuitarPro, PowerTab, and tuxguitar: TablEdit files. tuxguitar: -tuxguitar: +tuxguitar: Homepage at: https://github.com/helge17/tuxguitar tuxguitar: tuxguitar: tuxguitar: diff --git a/audio/tuxguitar/tuxguitar.SlackBuild b/audio/tuxguitar/tuxguitar.SlackBuild index 3926334f2b..bd4f21614b 100644 --- a/audio/tuxguitar/tuxguitar.SlackBuild +++ b/audio/tuxguitar/tuxguitar.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tuxguitar VERSION=${VERSION:-1.6.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,14 +74,17 @@ cd .. mv "$TMP/$PRGNAM-$VERSION-linux-swt-$BINARCH" "$PKG/opt/$PRGNAM" #link to /usr - ln -sf "/opt/$PRGNAM/$PRGNAM.sh" "$PKG/usr/bin/$PRGNAM" - ln -sf "/opt/$PRGNAM/share/applications/tuxguitar.desktop" \ "$PKG/usr/share/applications/tuxguitar.desktop" +ln -sf "/opt/$PRGNAM/share/pixmaps/tuxguitar.png" \ + "$PKG/usr/share/pixmaps/tuxguitar.png" + +# ensure we actually use zulu-openjdk11 +sed -i '4i source /etc/profile.d/zulu-openjdk11.sh' $PKG/opt/$PRGNAM/$PRGNAM.sh -ln -sf "/opt/$PRGNAM/share/pixmaps/tuxguitar.xpm" \ - "$PKG/usr/share/pixmaps/tuxguitar.xpm" +# ensure ELF binaries/libraries are executable +chmod +x $PKG/opt/tuxguitar/lib/libtuxguitar-*.so find $PKG/opt/$PRGNAM/share/man -type f -exec gzip -9 {} \; for i in $( find $PKG/opt/$PRGNAM/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -- cgit v1.2.3