summaryrefslogtreecommitdiff
path: root/games/liquidwar6/liquidwar6.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/liquidwar6/liquidwar6.SlackBuild')
-rw-r--r--games/liquidwar6/liquidwar6.SlackBuild19
1 files changed, 2 insertions, 17 deletions
diff --git a/games/liquidwar6/liquidwar6.SlackBuild b/games/liquidwar6/liquidwar6.SlackBuild
index 899015681a..ea3083750d 100644
--- a/games/liquidwar6/liquidwar6.SlackBuild
+++ b/games/liquidwar6/liquidwar6.SlackBuild
@@ -5,7 +5,7 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=liquidwar6
-VERSION=${VERSION:-0.0.9beta}
+VERSION=${VERSION:-0.0.13beta}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,10 +51,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
-# liquidwar really ought to be using pkg-config to get the correct -l
-# flags for sqlite3, but it doesn't.
-patch -p1 < $CWD/sqlite_libdl.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -71,16 +67,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-# /usr/lib/ is hard-coded in too many places where --libdir gets
-# ignored. On 64-bit arches, the libs should live in /usr/lib64,
-# but the game will always look in /usr/lib
-if [ -n "${LIBDIRSUFFIX}" ]; then
- ( cd $PKG/usr/lib
- mv $PRGNAM-$VERSION ../lib${LIBDIRSUFFIX}
- ln -s ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION $PRGNAM-$VERSION
- )
-fi
-
gzip $PKG/usr/man/man6/$PRGNAM.6
( cd $PKG/usr/man/man6 ; ln -s $PRGNAM.6.gz $SHORTNAM.6.gz )
( cd $PKG/usr/games ; ln -s $PRGNAM $SHORTNAM )
@@ -96,8 +82,7 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
# The package docs are just a skeleton, completely useless
-# (the real docs are the info pages, although they're not all that
-# useful either)
+# (the real docs are the info pages)
rm -rf $PKG/usr/share/doc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION