summaryrefslogtreecommitdiff
path: root/source/ap
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-07-15 19:34:18 +0000
committerEric Hameleers <alien@slackware.com>2020-07-16 08:59:52 +0200
commit1097672bbe2dad8c413235e4cd4f8ee4a8d162e0 (patch)
treeb55b8c2cea71fe152cf7afab972297a3999f3bd4 /source/ap
parent41bca28ec5e59f94389ba1ad0c75f0df7d05047b (diff)
downloadcurrent-1097672bbe2dad8c413235e4cd4f8ee4a8d162e0.tar.gz
Wed Jul 15 19:34:18 UTC 202020200715193418
a/kernel-firmware-20200715_69c7f0b-noarch-1.txz: Upgraded. ap/soma-3.3.5-noarch-1.txz: Upgraded. Thanks to David Woodfall. d/cmake-3.18.0-x86_64-1.txz: Upgraded. l/libzip-1.7.3-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/ap')
-rw-r--r--source/ap/soma/doinst.sh3
-rwxr-xr-xsource/ap/soma/soma.SlackBuild21
-rw-r--r--source/ap/soma/soma.info8
3 files changed, 20 insertions, 12 deletions
diff --git a/source/ap/soma/doinst.sh b/source/ap/soma/doinst.sh
index a6460732..9cab7771 100644
--- a/source/ap/soma/doinst.sh
+++ b/source/ap/soma/doinst.sh
@@ -14,3 +14,6 @@ config() {
config etc/soma/stations.conf.new
config etc/soma/options.conf.new
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/source/ap/soma/soma.SlackBuild b/source/ap/soma/soma.SlackBuild
index af32a201..8196b707 100755
--- a/source/ap/soma/soma.SlackBuild
+++ b/source/ap/soma/soma.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=soma
-VERSION=${VERSION:-3.3.0}
+VERSION=${VERSION:-3.3.5}
ARCH=noarch
BUILD=${BUILD:-1}
@@ -56,15 +56,18 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-mkdir -p $PKG/usr/bin $PKG/etc/soma/themes \
- $PKG/etc/soma/genres \
- $PKG/install $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p \
+ $PKG/install \
+ $PKG/etc/soma/themes \
+ $PKG/etc/soma/genres \
+ $PKG/usr/doc/$PRGNAM-$VERSION
-install -m 755 soma $PKG/usr/bin/soma
-install -m 644 options.conf.new $PKG/etc/soma
-install -m 644 stations.conf.new $PKG/etc/soma
-install -m 644 themes/* $PKG/etc/soma/themes
-install -m 644 genres/* $PKG/etc/soma/genres
+install -m 755 -D soma $PKG/usr/bin/soma
+install -m 644 -D options.conf.new $PKG/etc/soma/
+install -m 644 -D stations.conf.new $PKG/etc/soma/
+install -m 644 -D themes/* $PKG/etc/soma/themes/
+install -m 644 -D genres/* $PKG/etc/soma/genres/
+install -m 644 -D soma.desktop $PKG/usr/share/applications/soma.desktop
cp -a README *.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/source/ap/soma/soma.info b/source/ap/soma/soma.info
index 7fc398ce..e0056332 100644
--- a/source/ap/soma/soma.info
+++ b/source/ap/soma/soma.info
@@ -1,8 +1,10 @@
PRGNAM="soma"
-VERSION="3.3.0"
+VERSION="3.3.5"
HOMEPAGE="http://tty1.uk/slackbuilds/noversion/soma/"
-DOWNLOAD="http://git.tty1.uk/cgit.cgi/soma/snapshot/soma-3.3.0.tar.gz"
-MD5SUM="783296fbd79ac0626e55ac326526e9e1"
+DOWNLOAD="http://git.tty1.uk/cgit.cgi/soma/snapshot/soma-3.3.5.tar.gz"
+MD5SUM="ccfab41ec585b44bd7f8e9c1cb273a93"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
+MAINTAINER=""
+EMAIL=""