aboutsummaryrefslogtreecommitdiff
path: root/games/oblige/oblige.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-09-25 20:20:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-25 20:20:23 +0700
commitdc3fa6a67de0484189acb35226244903d2d1b88c (patch)
treeb3103c23ce2e875d4d3e78a1f5884a73133fc99a /games/oblige/oblige.SlackBuild
parentf407a6ccd0db6f1bf5a043b2a2c562ed0af8c479 (diff)
games/oblige: Added man page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/oblige/oblige.SlackBuild')
-rw-r--r--games/oblige/oblige.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/games/oblige/oblige.SlackBuild b/games/oblige/oblige.SlackBuild
index 873df17ac7141..384ff93a02af3 100644
--- a/games/oblige/oblige.SlackBuild
+++ b/games/oblige/oblige.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20140916 bkw: bump BUILD to 2.
+# add man page.
+
# 20140827 bkw: version bump, reset BUILD to 1.
# oblige 6.10 is nice, but it *only* supports the Doom games, so I'll
# add an oblige-legacy4 build for the old version.
@@ -17,7 +20,7 @@
PRGNAM=oblige
VERSION=${VERSION:-6.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -75,6 +78,10 @@ sed -i '1i#include <unistd.h>' gui/lib_util.cc
make INSTALL_PREFIX=/usr OPTIMISE="$SLKCFLAGS" FLTK_CONFIG=fltk13-config
make install INSTALL_PREFIX=$PKG/usr
+# man page written for this build (based on --help output)
+mkdir -p $PKG/usr/man/man6
+gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
+
mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop