diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/ho1/doinst.sh | 3 | ||||
-rw-r--r-- | games/ho1/ho1.SlackBuild | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/games/ho1/doinst.sh b/games/ho1/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/games/ho1/doinst.sh @@ -0,0 +1,3 @@ +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/games/ho1/ho1.SlackBuild b/games/ho1/ho1.SlackBuild index 1586015948..a45466ff4e 100644 --- a/games/ho1/ho1.SlackBuild +++ b/games/ho1/ho1.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=ho1 VERSION=${VERSION:-1.430} VERSIONSRC=${VERSIONSRC:-1430} EXTRAVERSION=${EXTRAVERSION:-r894} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch # Java @@ -18,7 +18,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -42,6 +42,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:-tgz} |