aboutsummaryrefslogtreecommitdiff
path: root/system/slapt-get/slapt-get.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/slapt-get/slapt-get.SlackBuild')
-rw-r--r--system/slapt-get/slapt-get.SlackBuild23
1 files changed, 15 insertions, 8 deletions
diff --git a/system/slapt-get/slapt-get.SlackBuild b/system/slapt-get/slapt-get.SlackBuild
index 9aedbb8581..2ffed40476 100644
--- a/system/slapt-get/slapt-get.SlackBuild
+++ b/system/slapt-get/slapt-get.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for slapt-get
-# 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,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Changelog for slapt-get SlackBuild Script
+# ----------------------------------------------------------------------------------
+
+# 24/05/2023: Submitted to slackbuilds.org
+
+# 26/10/2023: updated to version 0.11.10
+
+# 13/04/2025: updated to version 0.11.11
+
+# ------------------------------------------------------------------------------------
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=slapt-get
-VERSION=${VERSION:-0.11.10}
+VERSION=${VERSION:-0.11.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,15 +50,11 @@ 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
fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,7 +89,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" meson setup build --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --sysconfdir=/etc --mandir=/usr/man --buildtype=release
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" meson setup build --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --sysconfdir=/etc --mandir=/usr/man --buildtype=release
meson compile -C build
DESTDIR="$PKG" meson install -C build
@@ -94,7 +101,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv -v $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rvf $PKG/usr/share/doc
+rm -rvf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install