aboutsummaryrefslogtreecommitdiff
path: root/development/z88dk
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-14 17:02:24 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-21 10:22:08 +0700
commit8332e23b30d51475756dc80e2ab180ff45006d83 (patch)
treed8969949493ed485de06a98b235820e962781147 /development/z88dk
parent3e85dafb326a0f307acd10f9cb242878bd6f056f (diff)
development/z88dk: Clean up doc dir.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/z88dk')
-rw-r--r--development/z88dk/z88dk.SlackBuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/development/z88dk/z88dk.SlackBuild b/development/z88dk/z88dk.SlackBuild
index 93c0f7889500..2636a2c26754 100644
--- a/development/z88dk/z88dk.SlackBuild
+++ b/development/z88dk/z88dk.SlackBuild
@@ -14,12 +14,20 @@
# release doesn't, current git does).
# 20210907 bkw: the above TODO still stands, but I don't have time to do
# it right now (gearing up for 15.0 release).
+# 20230114 bkw: I don't have time to deal with it right now, but
+# z88dk-2.2 looks promising. Unfortunately I'll have to spend a week
+# writing SlackBuilds for the 50 or so perl modules it requires, and I
+# don't have a week right now.
+
+# 20230114 bkw: BUILD=2
+# - do not ship pre-compiled binaries in the doc dir
+# - do not ship the windows installer
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=z88dk
VERSION=${VERSION:-1.99B}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -117,6 +125,11 @@ for i in $CWD/man/*.1; do
gzip -9c < $i > $PKG/usr/man/man1/$( basename $i ).gz
done
+# 20230114 bkw: do not ship executables in the doc dir.
+rm -f support/bin2var/{bin2var,*.exe}
+rm -f support/graphics/{z80svg,*.o}
+rm -rf support/winstall
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README* LICENSE EXTENSIONS doc examples support \
$PKG/usr/doc/$PRGNAM-$VERSION