summaryrefslogtreecommitdiffstats
path: root/games/crispy-doom/crispy-doom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/crispy-doom/crispy-doom.SlackBuild')
-rw-r--r--games/crispy-doom/crispy-doom.SlackBuild18
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