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 | |
| 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')
| -rw-r--r-- | photocraft-bin/photocraft-bin.SlackBuild | 12 | ||||
| -rw-r--r-- | photocraft-bin/photocraft-bin.info | 6 |
2 files changed, 14 insertions, 4 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/ diff --git a/photocraft-bin/photocraft-bin.info b/photocraft-bin/photocraft-bin.info index 51517c3..2b41c7b 100644 --- a/photocraft-bin/photocraft-bin.info +++ b/photocraft-bin/photocraft-bin.info @@ -1,10 +1,10 @@ PRGNAM="photocraft-bin" -VERSION="0.14.0" +VERSION="0.19.0" HOMEPAGE="https://getartcraft.com/apps/photocraft" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/storytold/photocraft/releases/download/v0.14.0/photocraft-0.14.0-linux-x86_64.tar.gz" -MD5SUM_x86_64="7fc231e50fea79e37affd6086a7c6fc5" +DOWNLOAD_x86_64="https://github.com/storytold/photocraft/releases/download/v0.19.0/photocraft-0.19.0-linux-x86_64.tar.gz" +MD5SUM_x86_64="66ee84f6bb4af34bac92cb97f3f23117" REQUIRES="" MAINTAINER="danix" EMAIL="danix@danix.xyz" |
