office/pdfarranger: Upgrade to version 1.11.0

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
brobr 2024-07-27 16:19:44 +01:00 committed by Willy Sudiarto Raharjo
parent 6ea717f932
commit 43d7f488fe
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for pdfarranger
# Copyright 2020, 2023 Rob van Nues
# Copyright 2020, 2024 Rob van Nues
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdfarranger
VERSION=${VERSION:-1.10.1}
VERSION=${VERSION:-1.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -71,11 +71,6 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
#simplify icon name from 'com.github.jeromerobert.pdfarranger' to 'pdfarranger'
patch -p 1 < $CWD/simplify_icon_name.patch
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
@ -93,11 +88,15 @@ mv $PKG/usr/share/man $PKG/usr/man
mv $PKG/usr/share/applications/com.github.jeromerobert.pdfarranger.desktop \
$PKG/usr/share/applications/pdfarranger.desktop
#simplify icon name from 'com.github.jeromerobert.pdfarranger' to 'pdfarranger'
sed -i 's/Icon=com.github.jeromerobert.pdfarranger/Icon=pdfarranger/' \
$PKG/usr/share/applications/pdfarranger.desktop
mv $PKG/usr/share/metainfo/com.github.jeromerobert.pdfarranger.metainfo.xml \
$PKG/usr/share/metainfo/pdfarranger.metainfo.xml
find $PKG/usr/share/icons/hicolor/ -iname 'com.github.jeromerobert.pdfarranger*' -exec rename com.github.jeromerobert.pdfarranger pdfarranger '{}' ';'
find $PKG/usr/share/icons/hicolor/ -iname 'com.github.jeromerobert.pdfarranger*' \
-exec rename com.github.jeromerobert.pdfarranger pdfarranger '{}' ';'
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \

View file

@ -1,8 +1,8 @@
PRGNAM="pdfarranger"
VERSION="1.10.1"
VERSION="1.11.0"
HOMEPAGE="https://github.com/pdfarranger/pdfarranger"
DOWNLOAD="https://github.com/pdfarranger/pdfarranger/archive/refs/tags/1.10.1/pdfarranger-1.10.1.tar.gz"
MD5SUM="a9ec7e522082e41818c6337f4931cffe"
DOWNLOAD="https://github.com/pdfarranger/pdfarranger/archive/refs/tags/1.11.0/pdfarranger-1.11.0.tar.gz"
MD5SUM="c6ab996e0de2e21eff4e106109f4a6dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pikepdf python3-dateutil img2pdf"