aboutsummaryrefslogtreecommitdiff
path: root/games/oblige-legacy4/oblige-legacy4.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-09-26 00:51:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-26 18:12:08 +0700
commit9d7d6d86ec5f9f27c6d819a3e5900ba466f86b6b (patch)
tree8d5d14232f2d07dfb6b111087f4d9a3e6542bc82 /games/oblige-legacy4/oblige-legacy4.SlackBuild
parent0375d3a7a0fa7bb76beb17e774ecbdab26e3ebc8 (diff)
games/oblige-legacy4: Added man page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/oblige-legacy4/oblige-legacy4.SlackBuild')
-rw-r--r--games/oblige-legacy4/oblige-legacy4.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/games/oblige-legacy4/oblige-legacy4.SlackBuild b/games/oblige-legacy4/oblige-legacy4.SlackBuild
index 537ec4a8993a..ff11ed18f076 100644
--- a/games/oblige-legacy4/oblige-legacy4.SlackBuild
+++ b/games/oblige-legacy4/oblige-legacy4.SlackBuild
@@ -6,6 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20140916 bkw: bump BUILD to 2.
+# - add man page
+# - add mention of Hexen in README
+
# 20140827 bkw:
# - rename this build to oblige-legacy4 so we can update oblige to v6.
# keep both around for now, as v6 lacks heretic/quake support.
@@ -17,7 +21,7 @@
PRGNAM=oblige-legacy4
VERSION=${VERSION:-4.28b}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -85,6 +89,10 @@ 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
+# man page written for this build
+mkdir -p $PKG/usr/man/man6
+gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp *.txt doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild