diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-06 04:27:28 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-07 08:13:50 +0700 |
commit | 88e1c72d99aeb8e41033c41d89e15563c86a6115 (patch) | |
tree | 2385cbd2771a094ed9f199f3dfc40fca5e7c8b16 /audio/mp3val | |
parent | 8ace3180ef4b5374a5b3137d466e0bcaf45babab (diff) |
audio/mp3val: Add doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mp3val')
-rw-r--r-- | audio/mp3val/doinst.sh | 9 | ||||
-rw-r--r-- | audio/mp3val/mp3val.SlackBuild | 6 |
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/mp3val/doinst.sh b/audio/mp3val/doinst.sh new file mode 100644 index 000000000000..3e5691a052b5 --- /dev/null +++ b/audio/mp3val/doinst.sh @@ -0,0 +1,9 @@ +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/mp3val/mp3val.SlackBuild b/audio/mp3val/mp3val.SlackBuild index 84ffb150d518..031fba6f35e2 100644 --- a/audio/mp3val/mp3val.SlackBuild +++ b/audio/mp3val/mp3val.SlackBuild @@ -6,9 +6,12 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230106 bkw: BUILD=4, add doinst.sh + # 20211121 bkw: BUILD=3 # - new-style icons. # - replace old icon, too small for modern displays. + # 20140921 bkw: bump BUILD to 2 # - took over maintenance # - add man page @@ -22,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mp3val VERSION=${VERSION:-0.1.8} -BUILD=${BUILD:-2} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -128,6 +131,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |