diff options
Diffstat (limited to 'development/xasm')
-rw-r--r-- | development/xasm/README | 4 | ||||
-rw-r--r-- | development/xasm/xasm.SlackBuild | 26 | ||||
-rw-r--r-- | development/xasm/xasm.info | 8 |
3 files changed, 23 insertions, 15 deletions
diff --git a/development/xasm/README b/development/xasm/README index f734548b95..8150cc64d2 100644 --- a/development/xasm/README +++ b/development/xasm/README @@ -3,4 +3,6 @@ xasm (cross assembler targetting the 6502) xasm is a 6502 cross-assembler with original syntax extensions. By default it generates binaries for Atari 8-bit computers. -Syntax highlighting for the scite editor is included. +Syntax highlighting for the scite editor is included. If you +want syntax highlighting for vim, see: +https://github.com/lybrown/vim-xasm diff --git a/development/xasm/xasm.SlackBuild b/development/xasm/xasm.SlackBuild index 0a216c30a5..c9662dadf7 100644 --- a/development/xasm/xasm.SlackBuild +++ b/development/xasm/xasm.SlackBuild @@ -1,15 +1,20 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for xasm -# 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. +# 20230103 bkw: updated for v3.2.1. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xasm -VERSION=${VERSION:-3.1.1} +VERSION=${VERSION:-3.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -19,7 +24,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -36,11 +45,8 @@ rm -rf $PRGNAM-$PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$PRGNAM-$VERSION 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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ make install install-scite prefix=/usr mandir=/usr/man/man1 DESTDIR=$PKG chmod 644 $PKG/usr/share/scite/$PRGNAM.properties @@ -55,4 +61,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/xasm/xasm.info b/development/xasm/xasm.info index 257b794d9d..03a9bfaec8 100644 --- a/development/xasm/xasm.info +++ b/development/xasm/xasm.info @@ -1,10 +1,10 @@ PRGNAM="xasm" -VERSION="3.1.1" +VERSION="3.2.1" HOMEPAGE="https://github.com/pfusik/xasm" -DOWNLOAD="https://github.com/pfusik/xasm/archive/xasm-3.1.1/xasm-xasm-3.1.1.tar.gz" -MD5SUM="fc4b8c8c085bae50adcce519c3c51c8c" +DOWNLOAD="https://github.com/pfusik/xasm/archive/xasm-3.2.1/xasm-xasm-3.2.1.tar.gz" +MD5SUM="01f9c9d73bc1ae32ce7039d56a5a17f5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="dmd" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" |