diff options
-rw-r--r-- | games/antimicrox/antimicrox.SlackBuild | 11 | ||||
-rw-r--r-- | games/antimicrox/doinst.sh | 6 |
2 files changed, 15 insertions, 2 deletions
diff --git a/games/antimicrox/antimicrox.SlackBuild b/games/antimicrox/antimicrox.SlackBuild index a9797f8d976e..868ba7e13e4d 100644 --- a/games/antimicrox/antimicrox.SlackBuild +++ b/games/antimicrox/antimicrox.SlackBuild @@ -8,6 +8,10 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. +# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2: +# - remove /usr/share/doc. +# - add gtk-update-icon-cache to doinst.sh. + # 20220219 bkw: Modified by SlackBuilds.org: # - fix build on Slackware 15.0. # - remove option to build with qt5: it fails. @@ -17,7 +21,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=antimicrox VERSION=${VERSION:-3.2.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} DOCDIR=${DOCDIR:-/usr/doc} @@ -92,8 +96,11 @@ make make install/strip DESTDIR=$PKG cd .. +# 20220408 bkw: do not want! +rm -rf $PKG/usr/share/doc + mkdir -p $PKG/$DOCDIR/$PRGNAM-$VERSION -cp -a README.md BUILDING.md CHANGELOG.md LICENSE \ +cp -a README.md CHANGELOG.md LICENSE \ ProfileTips.md $PKG/$DOCDIR/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > \ $PKG/$DOCDIR/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/antimicrox/doinst.sh b/games/antimicrox/doinst.sh index 9a8ded3c6034..9424ce43ff57 100644 --- a/games/antimicrox/doinst.sh +++ b/games/antimicrox/doinst.sh @@ -5,3 +5,9 @@ fi if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/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 |