summaryrefslogtreecommitdiffstats
path: root/system/slpkg/slpkg.SlackBuild
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2023-05-26 12:36:57 +0300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-27 08:09:00 +0700
commit54fb2968d5cc5a1963ad4c0390e5142d47e80bb6 (patch)
tree8020a0e84ec30979f8da1d9aa6a1906632bd72d9 /system/slpkg/slpkg.SlackBuild
parente7bdc2326aee6ac2b6c2e440da011f1314a48542 (diff)
downloadslackbuilds-54fb2968d5cc5a1963ad4c0390e5142d47e80bb6.tar.gz
slackbuilds-54fb2968d5cc5a1963ad4c0390e5142d47e80bb6.tar.xz
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>
Diffstat (limited to 'system/slpkg/slpkg.SlackBuild')
-rw-r--r--system/slpkg/slpkg.SlackBuild9
1 files changed, 5 insertions, 4 deletions
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