summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-01-06 15:56:32 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:15 +0700
commit4422e4c370844c5406f9074dd093639028586a1f (patch)
tree85fb5c58b6e9dedcee8334d6031a70a08276359c
parented7d30fa839736f015ea6dfba5641ed8a742806d (diff)
downloadslackbuilds-4422e4c370844c5406f9074dd093639028586a1f.tar.gz
slackbuilds-4422e4c370844c5406f9074dd093639028586a1f.tar.xz
audio/zita-dpl1: Fix docs and doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/zita-dpl1/doinst.sh5
-rw-r--r--audio/zita-dpl1/zita-dpl1.SlackBuild4
2 files changed, 8 insertions, 1 deletions
diff --git a/audio/zita-dpl1/doinst.sh b/audio/zita-dpl1/doinst.sh
index 4e8ba7071d..3e5691a052 100644
--- a/audio/zita-dpl1/doinst.sh
+++ b/audio/zita-dpl1/doinst.sh
@@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/audio/zita-dpl1/zita-dpl1.SlackBuild b/audio/zita-dpl1/zita-dpl1.SlackBuild
index ac9ca6a92c..57989232a4 100644
--- a/audio/zita-dpl1/zita-dpl1.SlackBuild
+++ b/audio/zita-dpl1/zita-dpl1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230106 bkw: BUILD=3, fix bad doc ownership, fix doinst.sh.
# 20211205 bkw: BUILD=2, new-style icons.
# 20191202 bkw: updated for v0.3.3
# 20170122 bkw: updated for v0.1.0
@@ -14,7 +15,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zita-dpl1
VERSION=${VERSION:-0.3.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,6 +58,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+