aboutsummaryrefslogtreecommitdiff
path: root/system/slpkg
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2023-04-28 17:59:23 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 18:11:47 +0700
commit49840e101be4429879679f6c943f51bb704d6b25 (patch)
tree1605d83c5da2076b90d2f55e501bd58d43d71056 /system/slpkg
parent5b477bc9e11d159eccca99f328924d98e6a95d76 (diff)
system/slpkg: Updated for version 4.8.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/slpkg')
-rw-r--r--system/slpkg/slpkg.SlackBuild14
-rw-r--r--system/slpkg/slpkg.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild
index 1abe2d22394c..e8a4e6187ff8 100644
--- a/system/slpkg/slpkg.SlackBuild
+++ b/system/slpkg/slpkg.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=slpkg
-VERSION=${VERSION:-4.8.0}
+VERSION=${VERSION:-4.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,9 +81,11 @@ find -L . \
python3 setup.py install --root=$PKG
+# Move executables to the /usr/sbin folder.
mkdir -p $PKG/usr/sbin
-cp bin/slpkg $PKG/usr/sbin/slpkg
-cp bin/slpkg_new-configs $PKG/usr/sbin/slpkg_new-configs
+mv $PKG/usr/bin/slpkg $PKG/usr/sbin/slpkg
+mv $PKG/usr/bin/slpkg_new-configs $PKG/usr/sbin/slpkg_new-configs
+rm -rf $PKG/usr/bin
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
@@ -93,9 +95,6 @@ install -D -m0644 configs/slpkg.toml $PKG/etc/slpkg/slpkg.toml.new
install -D -m0644 configs/repositories.toml $PKG/etc/slpkg/repositories.toml.new
install -D -m0644 configs/blacklist.toml $PKG/etc/slpkg/blacklist.toml.new
-mkdir -p $PKG/var/lib/$PRGNAM/repositories/ponce
-cp tools/gen_sbo_txt.sh $PKG/var/lib/$PRGNAM/repositories/ponce
-
mkdir -p $PKG/usr/man/man1 & mkdir -p $PKG/usr/man/fr/man1
cp man/slpkg.1 $PKG/usr/man/man1
cp man/slpkg-fr.1 $PKG/usr/man/fr/man1/slpkg.1
@@ -104,7 +103,8 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md ChangeLog.txt LICENSE requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md ChangeLog.txt LICENSE requirements.txt repositories.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/slpkg/slpkg.info b/system/slpkg/slpkg.info
index 2092849e4763..3790811cdff0 100644
--- a/system/slpkg/slpkg.info
+++ b/system/slpkg/slpkg.info
@@ -1,8 +1,8 @@
PRGNAM="slpkg"
-VERSION="4.8.0"
+VERSION="4.8.2"
HOMEPAGE="https://dslackw.gitlab.io/slpkg"
-DOWNLOAD="https://gitlab.com/dslackw/slpkg/-/archive/4.8.0/slpkg-4.8.0.tar.gz"
-MD5SUM="75af7a43379407b8428dc6053fac470c"
+DOWNLOAD="https://gitlab.com/dslackw/slpkg/-/archive/4.8.2/slpkg-4.8.2.tar.gz"
+MD5SUM="96197dd92a2cc70e163eacdf83909252"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SQLAlchemy python3-pythondialog python3-progress"