aboutsummaryrefslogtreecommitdiff
path: root/system/sbpkg/sbpkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/sbpkg/sbpkg.SlackBuild')
-rw-r--r--system/sbpkg/sbpkg.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/sbpkg/sbpkg.SlackBuild b/system/sbpkg/sbpkg.SlackBuild
index eea12e8e87..1b234c6286 100644
--- a/system/sbpkg/sbpkg.SlackBuild
+++ b/system/sbpkg/sbpkg.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sbpkg
-# Copyright 2024 Dimitris Zlatanidis Greece, Orestiada
+# Copyright 2024-2025 Dimitris Zlatanidis Greece, Orestiada
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sbpkg
-VERSION=${VERSION:-1.1.1}
+VERSION=${VERSION:-1.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,8 @@ 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 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
mkdir -p $PKG/usr/sbin $PKG/etc/$PRGNAM $PKG/usr/man/man1
mv $PKG/usr/bin/$PRGNAM $PKG/usr/sbin/$PRGNAM