summaryrefslogtreecommitdiff
path: root/games/crispy-doom
diff options
context:
space:
mode:
Diffstat (limited to 'games/crispy-doom')
-rw-r--r--games/crispy-doom/crispy-doom.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/crispy-doom/crispy-doom.SlackBuild b/games/crispy-doom/crispy-doom.SlackBuild
index 7ec07daa14..3f2bd1360d 100644
--- a/games/crispy-doom/crispy-doom.SlackBuild
+++ b/games/crispy-doom/crispy-doom.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=crispy-doom
VERSION=${VERSION:-3.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --bindir=/usr/games \
--build=$ARCH-slackware-linux
make
@@ -88,6 +89,10 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Take care of conflicts with Chocolate DOOM
+rm $PKG/usr/man/man6/chocolate-setup.6
+mv $PKG/usr/man/man6/chocolate-server.6 $PKG/usr/man/man6/crispy-server.6
+
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