summaryrefslogtreecommitdiff
path: root/games/colem/colem.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-26 13:25:52 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-31 11:15:39 +0700
commit94bb816ad32503a876b9065daa919dd1d2d5b3af (patch)
tree9f0aa62802b4bc3007248ae00198d118bcdc8a9c /games/colem/colem.SlackBuild
parent0d8cc0f8edf4f0fa191708fa01f7f6f2c5bd6ed5 (diff)
downloadslackbuilds-94bb816ad32503a876b9065daa919dd1d2d5b3af.tar.gz
games/colem: Updated for version 5.4.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/colem/colem.SlackBuild')
-rw-r--r--games/colem/colem.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/games/colem/colem.SlackBuild b/games/colem/colem.SlackBuild
index 8ad506b422..9ecb7fb846 100644
--- a/games/colem/colem.SlackBuild
+++ b/games/colem/colem.SlackBuild
@@ -6,6 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20201026 bkw:
+# - updated for 5.4.
+# - make the slack-desc say whether or not the ROM is included.
+# - update the man page with new options in 5.4.
+
# 20191202 bkw: updated for 4.8.
# 20180619 bkw: updated for 4.6.
@@ -58,7 +63,7 @@
# with OSS modules disabled by default.
PRGNAM=colem
-VERSION=${VERSION:-4.8}
+VERSION=${VERSION:-5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -200,7 +205,10 @@ for i in coleco.rom COLECO.ROM os7.rom OS7.ROM; do
done
# If we found a ROM image, include it in the package.
-[ -n "$ROM" ] && cat $ROM > $PKG/usr/share/$PRGNAM/coleco.rom
+INCLUDES="does NOT include"
+[ -n "$ROM" ] && \
+ cat $ROM > $PKG/usr/share/$PRGNAM/coleco.rom && \
+ INCLUDES="includes"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -210,7 +218,7 @@ cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
cat ../$ZIPNAME.html > $PKG/usr/doc/$PRGNAM-$VERSION/$ZIPNAME.html
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@INCLUDES@,$INCLUDES," $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG