summaryrefslogtreecommitdiffstats
path: root/development/cc65/cc65.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/cc65/cc65.SlackBuild')
-rw-r--r--development/cc65/cc65.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/development/cc65/cc65.SlackBuild b/development/cc65/cc65.SlackBuild
index fdc77f0cf0..7134da44c5 100644
--- a/development/cc65/cc65.SlackBuild
+++ b/development/cc65/cc65.SlackBuild
@@ -2,10 +2,11 @@
# Slackware build script for cc65
-# 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.
+# 20220405 bkw: BUILD=2, add .SlackBuild to doc dir.
# 20210317 bkw:
# - Update for 2.19 release. Script also tested with 2.18 and
# 2.17_20180906, in case someone needs one of those versions.
@@ -46,7 +47,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cc65
VERSION=${VERSION:-2.19}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -58,9 +59,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -127,6 +125,7 @@ make install \
mkdir -p $PKGDOC
cp -a README* LICENSE $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc