diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-02 11:04:00 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-02 11:04:00 +0100 |
| commit | 43b7963e19bdd41827f83f190e18818319841feb (patch) | |
| tree | e60af48fa5a1438741dde2c5ff244fbaae2cdd29 /photocraft-bin/photocraft-bin.SlackBuild | |
| parent | 8369a3f5a18b9bec8fb116de0730d967476dd559 (diff) | |
| download | my-slackbuilds-43b7963e19bdd41827f83f190e18818319841feb.tar.gz my-slackbuilds-43b7963e19bdd41827f83f190e18818319841feb.zip | |
photocraft-bin: update to 0.19.0
Upstream now ships man pages under share/man; install them gzipped
under /usr/man per Slackware convention.
Diffstat (limited to 'photocraft-bin/photocraft-bin.SlackBuild')
| -rw-r--r-- | photocraft-bin/photocraft-bin.SlackBuild | 12 |
1 files changed, 11 insertions, 1 deletions
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/ |
