From 49840e101be4429879679f6c943f51bb704d6b25 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 28 Apr 2023 17:59:23 +0300 Subject: system/slpkg: Updated for version 4.8.2. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- system/slpkg/slpkg.SlackBuild | 14 +++++++------- system/slpkg/slpkg.info | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'system/slpkg') 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" -- cgit v1.2.3