summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-07-15 19:34:18 +0000
committer Eric Hameleers <alien@slackware.com>2020-07-16 08:59:52 +0200
commit1097672bbe2dad8c413235e4cd4f8ee4a8d162e0 (patch)
treeb55b8c2cea71fe152cf7afab972297a3999f3bd4 /source
parent41bca28ec5e59f94389ba1ad0c75f0df7d05047b (diff)
downloadcurrent-1097672bbe2dad8c413235e4cd4f8ee4a8d162e0.tar.gz
current-1097672bbe2dad8c413235e4cd4f8ee4a8d162e0.tar.xz
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 '')
-rw-r--r--source/ap/soma/doinst.sh3
-rwxr-xr-xsource/ap/soma/soma.SlackBuild21
-rw-r--r--source/ap/soma/soma.info8
-rwxr-xr-xsource/l/libzip/libzip.SlackBuild3
4 files changed, 22 insertions, 13 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=""
diff --git a/source/l/libzip/libzip.SlackBuild b/source/l/libzip/libzip.SlackBuild
index 1ab157a6f..62d41cc41 100755
--- a/source/l/libzip/libzip.SlackBuild
+++ b/source/l/libzip/libzip.SlackBuild
@@ -86,7 +86,8 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \
- -DLIB_SUFFIX="$LIBDIRSUFFIX" \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_INCLUDEDIR=include \
-DCMAKE_BUILD_TYPE=Release .. || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1