diff options
Diffstat (limited to 'audio/tauonmb/tauonmb.SlackBuild')
-rw-r--r-- | audio/tauonmb/tauonmb.SlackBuild | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/audio/tauonmb/tauonmb.SlackBuild b/audio/tauonmb/tauonmb.SlackBuild index 23d291f6ff53..4c242a3a580d 100644 --- a/audio/tauonmb/tauonmb.SlackBuild +++ b/audio/tauonmb/tauonmb.SlackBuild @@ -52,6 +52,7 @@ fi TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +RPC=${RPC:-no} set -e @@ -73,20 +74,26 @@ sh compile-phazor.sh # Compile translator python3 compile-translations.py -rm -fR locale/*/*/tauon.po compile* mac.spec requirements.txt \ - snapcraft.yaml src update-translations.py +rm -f locale/*/*/*.po -mkdir -p $PKG/opt/tauon-music-box $PKG/usr/bin -mv * $PKG/opt/tauon-music-box -install -m 0755 $PKG/opt/tauon-music-box/extra/$PRGNAM.sh \ - $PKG/opt/tauon-music-box/$PRGNAM.sh -ln -s /opt/tauon-music-box/$PRGNAM.sh $PKG/usr/bin/tauon +case "$RPC" in + [yY][eE][sS]) + patch -p1 < "$CWD/flatpak-rpc.diff" +;; +esac + +mkdir -p $PKG/opt/tauon-music-box +mv assets extra lib locale t_modules templates theme CHANGELOG input.txt \ + LICENSE tauon.py *.md $PKG/opt/tauon-music-box cd $PKG/opt/tauon-music-box +mkdir -p $PKG/usr/bin +install -m 0755 extra/$PRGNAM.sh $PRGNAM.sh +ln -sf /opt/tauon-music-box/$PRGNAM.sh $PKG/usr/bin/tauon + mkdir -p $PKG/usr/share/applications cp extra/$PRGNAM.desktop $PKG/usr/share/applications/ - mv locale $PKG/usr/share/ mkdir -p $PKG/usr/share/icons/hicolor/{scalable,symbolic}/apps |