mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
games/crispy-doom: Fixed conflicts with chocolate-doom.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
1d8c745fff
commit
ca91c19910
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue