summaryrefslogtreecommitdiffstats
path: root/games/nottetris2/nottetris2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/nottetris2/nottetris2.SlackBuild')
-rw-r--r--games/nottetris2/nottetris2.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/games/nottetris2/nottetris2.SlackBuild b/games/nottetris2/nottetris2.SlackBuild
index 0d10ca10fe..f761b01a89 100644
--- a/games/nottetris2/nottetris2.SlackBuild
+++ b/games/nottetris2/nottetris2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nottetris2
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -12,11 +12,13 @@
# VERSION is just the modification date of the .love file.
+# 20230107 bkw: BUILD=2, include the SlackBuild in the doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nottetris2
VERSION=${VERSION:-20110620}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -52,8 +54,10 @@ echo '#!/usr/bin/env love-0.7.2' > $PKG/usr/games/$PRGNAM
cat "$PAYLOAD" >> $PKG/usr/games/$PRGNAM
chmod 755 $PKG/usr/games/$PRGNAM
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m0644 -oroot -groot "$README" $PKG/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+install -m0644 -oroot -groot "$README" $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
# .desktop written for this build
mkdir -p $PKG/usr/share/applications