summaryrefslogtreecommitdiffstats
path: root/source/ap
diff options
context:
space:
mode:
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 a64607329..9cab77711 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 af32a201b..8196b707e 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 7fc398ce8..e00563321 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=""