aboutsummaryrefslogtreecommitdiff
path: root/system/slapt-src
diff options
context:
space:
mode:
Diffstat (limited to 'system/slapt-src')
-rw-r--r--system/slapt-src/changelog6
-rw-r--r--system/slapt-src/slapt-src.SlackBuild18
-rw-r--r--system/slapt-src/slapt-src.info6
3 files changed, 15 insertions, 15 deletions
diff --git a/system/slapt-src/changelog b/system/slapt-src/changelog
deleted file mode 100644
index cd22ee29b1..0000000000
--- a/system/slapt-src/changelog
+++ /dev/null
@@ -1,6 +0,0 @@
-Changelog for slapt-src SlackBuild Script
---------------------------------------------------------------------
-
-24/05/2023:
-
-Submitted to slackbuilds.org
diff --git a/system/slapt-src/slapt-src.SlackBuild b/system/slapt-src/slapt-src.SlackBuild
index d56c770420..3b0a16f4f6 100644
--- a/system/slapt-src/slapt-src.SlackBuild
+++ b/system/slapt-src/slapt-src.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for slapt-src
-# Copyright 2023 Vijay Marcel
+# Copyright 2023-2025 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Changelog for slapt-src SlackBuild Script
+# ----------------------------------------------------------------------------
+
+# 24/05/2023: Submitted to slackbuilds.org
+# 14/04/2025: updated to version 0.3.9
+
+# -----------------------------------------------------------------------------
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=slapt-src
-VERSION=${VERSION:-0.3.7}
+VERSION=${VERSION:-0.3.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +47,6 @@ aarch64*) ARCH=aarch64 ;;
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
@@ -66,6 +71,7 @@ else
fi
set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -85,7 +91,7 @@ ninja -C build
DESTDIR=$PKG ninja -C build 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
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
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
diff --git a/system/slapt-src/slapt-src.info b/system/slapt-src/slapt-src.info
index 3029b6df3f..30576d2820 100644
--- a/system/slapt-src/slapt-src.info
+++ b/system/slapt-src/slapt-src.info
@@ -1,8 +1,8 @@
PRGNAM="slapt-src"
-VERSION="0.3.7"
+VERSION="0.3.9"
HOMEPAGE="https://software.jaos.org"
-DOWNLOAD="https://github.com/jaos/slapt-src/archive/0.3.7/slapt-src-0.3.7.tar.gz"
-MD5SUM="926c8de42115e99187cac6e58579fdb7"
+DOWNLOAD="https://github.com/jaos/slapt-src/archive/0.3.9/slapt-src-0.3.9.tar.gz"
+MD5SUM="ee13cc24cd03942fab8ec1228a0ed3cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="slapt-get"