aboutsummaryrefslogtreecommitdiff
path: root/audio/tauonmb
diff options
context:
space:
mode:
authorRSKYS <Pouria.rz@outlook.com>2021-10-26 21:41:34 +0330
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-27 08:25:09 +0700
commit8ac0e83af73683095039767b1a6a1c562cc3a0a2 (patch)
tree2833366e777eb2d932640d83c00c094a2fddc8bc /audio/tauonmb
parentea05ef98fa118de4981b178c6999222a16d09b57 (diff)
audio/tauonmb: Fix for version 6.8.0.
Signed-off-by: RSKYS <Pouria.rz@outlook.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/tauonmb')
-rw-r--r--audio/tauonmb/tauonmb.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/audio/tauonmb/tauonmb.SlackBuild b/audio/tauonmb/tauonmb.SlackBuild
index 35fc8c3524a48..b8ddbbc1b14f7 100644
--- a/audio/tauonmb/tauonmb.SlackBuild
+++ b/audio/tauonmb/tauonmb.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Slackware build script for tauonmb
+# Slackware build script for Tauon Music Box
# Copyright 2019-2021 Pouria Rezaei <Pouria.rz@outlook.com>
# All rights reserved.
@@ -74,23 +74,25 @@ gcc src/phazor/kissfft/kiss_fftr.c src/phazor/kissfft/kiss_fft.c src/phazor/phaz
-shared -o libphazor.so -fPIC -Wall -O3 # -Wextra
mkdir -p lib
mv libphazor.so lib/libphazor.so
-rm -fR src
+rm -fR compile* locale mac.spec requirements.txt snapcraft.yaml src update-translations.py
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/tauonmb.sh $PKG/opt/tauon-music-box/tauonmb.sh
+install -m 0755 $PKG/opt/tauon-music-box/extra/$PRGNAM.sh $PKG/opt/tauon-music-box/$PRGNAM.sh
mkdir -p $PKG/usr/share/applications
-cp $CWD/tauonmb.desktop $PKG/usr/share/applications
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
-cp $PKG/opt/tauon-music-box/assets/icon-128.png $PKG/usr/share/icons/hicolor/128x128/apps/tauonmb.png
+mkdir -p $PKG/usr/share/icons/hicolor/{scalable,symbolic}/apps
+cp $PKG/opt/tauon-music-box/extra/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps/
+cp $PKG/opt/tauon-music-box/extra/$PRGNAM-symbolic.svg $PKG/usr/share/icons/hicolor/symbolic/apps/
-ln -s /opt/tauon-music-box/tauonmb.sh $PKG/usr/bin/tauon
+ln -s /opt/tauon-music-box/$PRGNAM.sh $PKG/usr/bin/tauon
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/opt/tauon-music-box
- mv *.md CHANGELOG LICENSE $PKG/usr/doc/$PRGNAM-$VERSION )
+ mv *.md CHANGELOG LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+ rm -fR extra )
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install