summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--development/bas/bas.SlackBuild22
-rw-r--r--development/bas/bas.info10
2 files changed, 16 insertions, 16 deletions
diff --git a/development/bas/bas.SlackBuild b/development/bas/bas.SlackBuild
index 4bfa42fa83..d8d0041b2d 100644
--- a/development/bas/bas.SlackBuild
+++ b/development/bas/bas.SlackBuild
@@ -4,10 +4,13 @@
# Written by G. Schoenmakers
+# 20220304 bkw: Modified by SlackBuilds.org: update for v2.5,
+# change maintainer.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bas
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -20,9 +23,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
@@ -56,9 +56,9 @@ cd $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 \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -74,14 +74,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install
-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
+# 20220304 bkw: README recommends doing this, and it doesn't take long:
+make check
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+strip $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/bas/bas.info b/development/bas/bas.info
index 860f06fbef..4eff04867c 100644
--- a/development/bas/bas.info
+++ b/development/bas/bas.info
@@ -1,10 +1,10 @@
PRGNAM="bas"
-VERSION="2.4"
+VERSION="2.5"
HOMEPAGE="http://www.moria.de/~michael/bas/"
-DOWNLOAD="http://www.moria.de/~michael/bas/bas-2.4.tar.gz"
-MD5SUM="f2a0c85e5341ae425959413c7e850517"
+DOWNLOAD="http://www.moria.de/~michael/bas/bas-2.5.tar.gz"
+MD5SUM="d3a0de662f47bb54e7fa79fe1797a42d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="G. Schoenmakers"
-EMAIL="gschoen@iinet.net.au"
+MAINTAINER="Jude DaShiell"
+EMAIL="jdashiel@panix.com"