summaryrefslogtreecommitdiff
path: root/games/colem/colem.SlackBuild
diff options
context:
space:
mode:
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