From 43b7963e19bdd41827f83f190e18818319841feb Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 2 Nov 2026 11:04:00 +0100 Subject: photocraft-bin: update to 0.19.0 Upstream now ships man pages under share/man; install them gzipped under /usr/man per Slackware convention. --- photocraft-bin/photocraft-bin.SlackBuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'photocraft-bin/photocraft-bin.SlackBuild') diff --git a/photocraft-bin/photocraft-bin.SlackBuild b/photocraft-bin/photocraft-bin.SlackBuild index 94e7796..59fde90 100644 --- a/photocraft-bin/photocraft-bin.SlackBuild +++ b/photocraft-bin/photocraft-bin.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=photocraft-bin SRCNAM=photocraft -VERSION=${VERSION:-0.14.0} +VERSION=${VERSION:-0.19.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,6 +63,16 @@ 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 {} \; +# Since 0.19.0 upstream ships man pages under share/man (the FHS location); +# Slackware keeps them under /usr/man, gzipped. +if [ -d share/man/man1 ]; then + mkdir -p $PKG/usr/man/man1 + for m in share/man/man1/*; do + gzip -c9 "$m" > "$PKG/usr/man/man1/$(basename "$m").gz" + done + rm -rf share/man +fi + # Upstream ships an FHS tree (bin/, share/) with already-stripped binaries. mkdir -p $PKG/usr cp -a bin share $PKG/usr/ -- cgit v1.2.3