diff options
Diffstat (limited to 'development/zxbasicstudio')
-rw-r--r-- | development/zxbasicstudio/README | 8 | ||||
-rw-r--r-- | development/zxbasicstudio/doinst.sh | 4 | ||||
-rw-r--r-- | development/zxbasicstudio/slack-desc | 19 | ||||
-rw-r--r-- | development/zxbasicstudio/zxbasicstudio.SlackBuild | 89 | ||||
-rw-r--r-- | development/zxbasicstudio/zxbasicstudio.desktop | 10 | ||||
-rw-r--r-- | development/zxbasicstudio/zxbasicstudio.info | 10 | ||||
-rw-r--r-- | development/zxbasicstudio/zxbasicstudio.png | bin | 0 -> 17988 bytes |
7 files changed, 140 insertions, 0 deletions
diff --git a/development/zxbasicstudio/README b/development/zxbasicstudio/README new file mode 100644 index 0000000000..0f8b17e916 --- /dev/null +++ b/development/zxbasicstudio/README @@ -0,0 +1,8 @@ +ZX Basic Studio is a project initially created by Dr. Gusman +whose original code and earlier versions can be found at +https://github.com/gusmanb/ZXBasicStudio. ZX Basic Studio +is a cross-platform IDE for the Boriel Basic compiler + +This is a work in progress but the development has reached +a state in which we feel comfortable to release it to be +tested by users. Expect bugs as this is a development build. diff --git a/development/zxbasicstudio/doinst.sh b/development/zxbasicstudio/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/development/zxbasicstudio/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/development/zxbasicstudio/slack-desc b/development/zxbasicstudio/slack-desc new file mode 100644 index 0000000000..b03aeed998 --- /dev/null +++ b/development/zxbasicstudio/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +zxbasicstudio: zxbasicstudio (an ide for zxbasic) +zxbasicstudio: +zxbasicstudio: ZX Basic Studio is a cross-platform IDE for zxbasic +zxbasicstudio: +zxbasicstudio: This is a work in progress but the development has reached a state +zxbasicstudio: in which we feel comfortable to release it to be tested by users. +zxbasicstudio: Expect bugs as this is a development build. +zxbasicstudio: +zxbasicstudio: +zxbasicstudio: +zxbasicstudio: diff --git a/development/zxbasicstudio/zxbasicstudio.SlackBuild b/development/zxbasicstudio/zxbasicstudio.SlackBuild new file mode 100644 index 0000000000..ca78aa23c4 --- /dev/null +++ b/development/zxbasicstudio/zxbasicstudio.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/bash + +# Slackware build script for zxbasicstudio + +# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=zxbasicstudio +VERSION=${VERSION:-1.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +TARBALL=ZXBasicStudio-Linux64-v${VERSION}-beta.zip + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +unzip $CWD/$TARBALL + + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +mkdir -p $PKG/opt/zxbasicstudio +cp -avxu * $PKG/opt/zxbasicstudio +chmod +x $PKG/opt/zxbasicstudio/*.so + +mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps +cp $CWD/zxbasicstudio.png $PKG/usr/share/pixmaps/zxbasicstudio.png +cp $CWD/zxbasicstudio.desktop $PKG/usr/share/applications/zxbasicstudio.desktop + +# For the moment must comment these +#find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ +# | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/zxbasicstudio/zxbasicstudio.desktop b/development/zxbasicstudio/zxbasicstudio.desktop new file mode 100644 index 0000000000..0b2b29f820 --- /dev/null +++ b/development/zxbasicstudio/zxbasicstudio.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=ZXBasicStudio +GenericName=ZX Basic Studio +Comment=An IDE for ZX Basic +Exec=/opt/zxbasicstudio/ZXBasicStudio +Icon=zxbasicstudio +Terminal=false +Type=Application +Categories=Development;IDE; +StartupNotify=false diff --git a/development/zxbasicstudio/zxbasicstudio.info b/development/zxbasicstudio/zxbasicstudio.info new file mode 100644 index 0000000000..916faa7355 --- /dev/null +++ b/development/zxbasicstudio/zxbasicstudio.info @@ -0,0 +1,10 @@ +PRGNAM="zxbasicstudio" +VERSION="1.5" +HOMEPAGE="https://github.com/boriel-basic/ZXBasicStudio" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/boriel-basic/ZXBasicStudio/releases/download/v1.5/ZXBasicStudio-Linux64-v1.5-beta.zip" +MD5SUM_x86_64="54c2263bf300d1a3356cea4405a77cd5" +REQUIRES="" +MAINTAINER="Antonio Leal" +EMAIL="antonioleal@yahoo.com" diff --git a/development/zxbasicstudio/zxbasicstudio.png b/development/zxbasicstudio/zxbasicstudio.png Binary files differnew file mode 100644 index 0000000000..3030aec791 --- /dev/null +++ b/development/zxbasicstudio/zxbasicstudio.png |