summaryrefslogtreecommitdiffstats
path: root/development/kForth-32
diff options
context:
space:
mode:
author Antonio Leal2023-03-27 00:13:22 +0200
committer Willy Sudiarto Raharjo2023-04-01 04:14:07 +0200
commita08df130c82e4a0bd6dd755503a6a42d00cbb44a (patch)
tree0749c81e4955cca59c735c3a35c99dde2f394e6d /development/kForth-32
parent16eb209174b4138bb93a026815cec90c439e6b80 (diff)
downloadslackbuilds-a08df130c82e4a0bd6dd755503a6a42d00cbb44a.tar.gz
development/kForth-32: Fix /etc/profile.d/ file.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/kForth-32')
-rw-r--r--development/kForth-32/README6
-rw-r--r--development/kForth-32/kForth-32.SlackBuild8
-rw-r--r--development/kForth-32/kForth-32.sh2
3 files changed, 7 insertions, 9 deletions
diff --git a/development/kForth-32/README b/development/kForth-32/README
index 1025501bc2..fef58a92e0 100644
--- a/development/kForth-32/README
+++ b/development/kForth-32/README
@@ -1,11 +1,7 @@
kForth is an implementation of the Forth programming language
and environment. The user may write Forth programs with an editor,
load these program files from kForth, and run them.
-kForth, like other implementations of Forth, provides an interactive
-environment, allowing the user to examine or define variables and
-define and execute individual words. Interactive use is one of the
-main advantages in using a Forth environment for writing and testing
-computer programs.
+
kForth provides a large subset of the Forth-2012 specification for
the Forth language. It also provides some extensions and non-standard
features which its authors have found to be useful.
diff --git a/development/kForth-32/kForth-32.SlackBuild b/development/kForth-32/kForth-32.SlackBuild
index 8f1f224826..317f2ad59a 100644
--- a/development/kForth-32/kForth-32.SlackBuild
+++ b/development/kForth-32/kForth-32.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kForth-32
VERSION=${VERSION:-2.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -95,7 +95,11 @@ cp *.* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/profile.d
-cp $CWD/kForth-32.sh $PKG/etc/profile.d
+cat <<EOF >$PKG/etc/profile.d/kForth-32.sh
+!/bin/sh
+export KFORTH_DIR=/usr/share/kForth-32
+EOF
+chmod 0755 $PKG/etc/profile.d/kForth-32.sh
mkdir -p $PKG/usr/share/pixmaps
cp $TMP/$PRGNAM-$VERSION/kforth.xpm $PKG/usr/share/pixmaps
diff --git a/development/kForth-32/kForth-32.sh b/development/kForth-32/kForth-32.sh
deleted file mode 100644
index 30ccb0b590..0000000000
--- a/development/kForth-32/kForth-32.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-export KFORTH_DIR=/usr/share/kForth-32