aboutsummaryrefslogtreecommitdiff
path: root/office/pdfpc/pdfpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/pdfpc/pdfpc.SlackBuild')
-rw-r--r--office/pdfpc/pdfpc.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/office/pdfpc/pdfpc.SlackBuild b/office/pdfpc/pdfpc.SlackBuild
index 22b539837256e..29134fc3683a1 100644
--- a/office/pdfpc/pdfpc.SlackBuild
+++ b/office/pdfpc/pdfpc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pdfpc
-# Copyright 2018-2021 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2018-2024 Gregory J. L. Tourte <artourter@gmail.com>
# Copyright 2013 Markus Hutmacher <email removed>
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdfpc
VERSION=${VERSION:-4.6.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,10 +76,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+patch -p 1 < $CWD/08e66b9d432e9598c1ee9a78b2355728036ae1a1.patch
+patch -p 1 < $CWD/18beaecbbcc066e0d4c889b3aa3ecaa7351f7768.patch
mkdir -p build
cd build
@@ -89,6 +90,7 @@ cd build
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
+ -Wno-dev \
..
make
make install DESTDIR=$PKG