mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/antimicrox: Fix docs, doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3aca0bd99f
commit
22aec8b620
2 changed files with 15 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue