diff options
author | Lenard Spencer | 2022-08-12 17:11:32 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2022-08-12 17:11:32 +0200 |
commit | 46dc1080bb50bbcf4e205d5a7c8bf10fd68bd362 (patch) | |
tree | 2a0e6bc4a5b5099a734fd73e80d56aed426d3df8 /games | |
parent | 5d2212f9d811594ceee3f5a701cf4b62e78dc914 (diff) | |
download | slackbuilds-46dc1080bb50bbcf4e205d5a7c8bf10fd68bd362.tar.gz |
games/crispy-doom: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/crispy-doom/crispy-doom.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/games/crispy-doom/crispy-doom.SlackBuild b/games/crispy-doom/crispy-doom.SlackBuild index 9c75da62b8..ffbfce3fdc 100644 --- a/games/crispy-doom/crispy-doom.SlackBuild +++ b/games/crispy-doom/crispy-doom.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=crispy-doom VERSION=${VERSION:-5.11.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -100,13 +97,16 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -# Crispy-doom insists on creating its own doc directory, -# so we'll use that and rename it: +# Remove unnecessary GNOME screensaver desktop entry: +rm -rf $PKG/usr/share/applications/screensavers + mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION -cp -n ChangeLog *.md $PKG/usr/doc/$PRGNAM-$VERSION || true +( cd $PKG/usr/doc/$PRGNAM-$VERSION + mkdir -p $PRGNAM + mv *.doom $PRGNAM + mv ../crispy-{heretic,hexen} . + ) cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# We'll rename the doc/crispy-heretic folder as well for consistency: -mv $PKG/usr/doc/crispy-heretic $PKG/usr/doc/crispy-heretic-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |