From ca91c1991094ee1e2bedcf46ac2ea325500457f8 Mon Sep 17 00:00:00 2001 From: Dugan Chen Date: Sun, 15 Jan 2017 23:00:01 +0000 Subject: games/crispy-doom: Fixed conflicts with chocolate-doom. Signed-off-by: David Spencer --- games/crispy-doom/crispy-doom.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'games/crispy-doom') 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 -- cgit v1.2.3