summaryrefslogtreecommitdiffstats
path: root/games/odamex/odamex.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2014-08-28 21:26:46 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:19:24 +0700
commitbe3388e35719c2e1291adfc54aacff01f965324b (patch)
treea756524b79b1a8e13c7a9dd6d40338847eeec7a1 /games/odamex/odamex.SlackBuild
parenteb48cf33be42ed2352797c40a91e43ac17e6ea74 (diff)
downloadslackbuilds-be3388e35719c2e1291adfc54aacff01f965324b.tar.gz
slackbuilds-be3388e35719c2e1291adfc54aacff01f965324b.tar.xz
games/odamex: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/odamex/odamex.SlackBuild')
-rw-r--r--games/odamex/odamex.SlackBuild25
1 files changed, 12 insertions, 13 deletions
diff --git a/games/odamex/odamex.SlackBuild b/games/odamex/odamex.SlackBuild
index 731873b046..0b92db5f84 100644
--- a/games/odamex/odamex.SlackBuild
+++ b/games/odamex/odamex.SlackBuild
@@ -6,8 +6,16 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20140827 bkw:
+# - update for 0.7.0
+# - require wxGTK3 (which is wx 3.x) instead of wxPython (wx 2.x)
+# - pod-ify man page for easier editing
+# - edit man page a bit
+# - get rid of hard-coded /usr/share/games/doom, no longer needed
+# - include sample orasrv.cfg from 0.6.4 source (it's gone from 0.7.0)
+
PRGNAM=odamex
-VERSION=${VERSION:-0.6.4}
+VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,11 +46,6 @@ else
LIBDIRSUFFIX=""
fi
-# This is a dirty hack that should let odalaunch compile with versions of
-# wx(GTK|Python) 2.8.x where x < 12. Uncomment the following line and
-# cross your fingers:
-#SLKCFLAGS="$SLKCFLAGS -DwxIntPtr=long"
-
set -e
rm -rf $PKG
@@ -58,10 +61,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Make the game look in /usr/share/games/doom for wad files,
-# like the already-existing zdoom, prboom, gzdoom builds.
-sed -i 's,getenv("HOME"),"/usr/share/games/doom",' common/d_main.cpp
-
# Make the launcher look in /usr/games for the odamex binary rather
# than the current directory. User can override with the settings
# dialog, this just sets the default.
@@ -89,9 +88,9 @@ mkdir -p $PKG/usr/share/games/doom
install -m0644 $PRGNAM.wad $PKG/usr/share/games/doom
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/tech
-cp -a CHANGELOG LICENSE MAINTAINERS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat odasrv.cfg > $PKG/usr/doc/$PRGNAM-$VERSION/odasrv.cfg.sample
-install -m0644 doc/tech/* $PKG/usr/doc/$PRGNAM-$VERSION/tech
+cp -a CHANGELOG LICENSE MAINTAINERS README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/odasrv.cfg > $PKG/usr/doc/$PRGNAM-$VERSION/odasrv.cfg.sample
+install -m0644 documentation/tech/* $PKG/usr/doc/$PRGNAM-$VERSION/tech
# Man page created for this slackbuild
mkdir -p $PKG/usr/man/man6