diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-05 14:01:28 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:51:59 +0700 |
commit | e78263ab91f10b8a3b53abe043b4a12d3b0f0a98 (patch) | |
tree | e72e657990427ee8ae94d50414fe54ffbda00b22 /development/mads | |
parent | 9932163e56079de7435d787ba0eea8878bfdd78b (diff) | |
download | slackbuilds-e78263ab91f10b8a3b53abe043b4a12d3b0f0a98.tar.gz |
development/mads: Updated for version 2.1.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mads')
-rw-r--r-- | development/mads/mads.SlackBuild | 22 | ||||
-rw-r--r-- | development/mads/mads.info | 10 |
2 files changed, 17 insertions, 15 deletions
diff --git a/development/mads/mads.SlackBuild b/development/mads/mads.SlackBuild index 58c06b4726..aeedc18a5d 100644 --- a/development/mads/mads.SlackBuild +++ b/development/mads/mads.SlackBuild @@ -6,10 +6,12 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210903 bkw: update for v2.1.3. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mads -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-2.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +24,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 @@ -36,16 +35,19 @@ OUTPUT=${OUTPUT:-/tmp} set -e +SRCNAM=Mad-Assembler + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -mkdir -p $PRGNAM-$VERSION -cd $PRGNAM-$VERSION -7za x $CWD/${PRGNAM}_${VERSION//./}.7z +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z +cd $SRCNAM-$VERSION + +# upstream's permissions are still horrid, even after all this time... +find . -iname \*.exe -print0 | xargs -0 rm -f find . -type f -print0 | xargs -0 chmod 644 find . -type d -print0 | xargs -0 chmod 755 -find . -iname \*.exe -print0 | xargs -0 rm -f chown -R root:root . # Build & install the binary. @@ -64,7 +66,7 @@ cp -a syntax/vim-mads-master/LICENSE \ PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKGDOC -for i in examples readme doc; do +for i in examples readme doc CHANGELOG README.md; do [ -e "$i" ] && cp -a "$i" $PKGDOC done cat $CWD/README > $PKGDOC/README diff --git a/development/mads/mads.info b/development/mads/mads.info index 0a44a7b712..ecd0025d9c 100644 --- a/development/mads/mads.info +++ b/development/mads/mads.info @@ -1,10 +1,10 @@ PRGNAM="mads" -VERSION="2.1.0" -HOMEPAGE="http://mads.atari8.info/" -DOWNLOAD="http://mads.atari8.info/mads_210.7z" -MD5SUM="dcf835bc119e50af4f004bdf838b0cff" +VERSION="2.1.3" +HOMEPAGE="https://mads.atari8.info/" +DOWNLOAD="https://github.com/tebe6502/Mad-Assembler/archive/2.1.3/Mad-Assembler-2.1.3.tar.gz" +MD5SUM="34c650ccffcb9bac6c33788a29b8c7db" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="p7zip fpc" +REQUIRES="fpc" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" |