summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dimitris Zlatanidis2023-05-26 11:36:57 +0200
committer Willy Sudiarto Raharjo2023-05-27 03:09:00 +0200
commit54fb2968d5cc5a1963ad4c0390e5142d47e80bb6 (patch)
tree8020a0e84ec30979f8da1d9aa6a1906632bd72d9
parente7bdc2326aee6ac2b6c2e440da011f1314a48542 (diff)
downloadslackbuilds-54fb2968d5cc5a1963ad4c0390e5142d47e80bb6.tar.gz
system/slpkg: Updated for version 4.8.7.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/slpkg/doinst.sh7
-rw-r--r--system/slpkg/slpkg.SlackBuild9
-rw-r--r--system/slpkg/slpkg.info6
3 files changed, 12 insertions, 10 deletions
diff --git a/system/slpkg/doinst.sh b/system/slpkg/doinst.sh
index aefd7614b8..74029f7a09 100644
--- a/system/slpkg/doinst.sh
+++ b/system/slpkg/doinst.sh
@@ -8,9 +8,10 @@ config() {
fi
}
-config etc/slpkg/slpkg.toml.new
-config etc/slpkg/repositories.toml.new
-config etc/slpkg/blacklist.toml.new
+FILES="slpkg repositories blacklist rules"
+for file in $FILES; do
+ config etc/slpkg/$file.toml.new
+done
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild
index 33cb300b98..7ea51d194a 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.5}
+VERSION=${VERSION:-4.8.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -91,9 +91,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/etc/slpkg
-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
+FILES="slpkg repositories blacklist rules"
+for file in $FILES; do
+ install -D -m0644 configs/$file.toml $PKG/etc/slpkg/$file.toml.new
+done
mkdir -p $PKG/usr/man/man1 & mkdir -p $PKG/usr/man/fr/man1
cp man/slpkg.1 $PKG/usr/man/man1
diff --git a/system/slpkg/slpkg.info b/system/slpkg/slpkg.info
index fd79fe7ac0..f51d87d934 100644
--- a/system/slpkg/slpkg.info
+++ b/system/slpkg/slpkg.info
@@ -1,8 +1,8 @@
PRGNAM="slpkg"
-VERSION="4.8.5"
+VERSION="4.8.7"
HOMEPAGE="https://dslackw.gitlab.io/slpkg"
-DOWNLOAD="https://gitlab.com/dslackw/slpkg/-/archive/4.8.5/slpkg-4.8.5.tar.gz"
-MD5SUM="35fabbdd5c87a3fd359ab0c2e9ba3760"
+DOWNLOAD="https://gitlab.com/dslackw/slpkg/-/archive/4.8.7/slpkg-4.8.7.tar.gz"
+MD5SUM="86076996edd8501393aaa245cb26397f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SQLAlchemy python3-pythondialog python3-progress"