summaryrefslogtreecommitdiff
path: root/office/pdfshuffler/pdfshuffler.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/pdfshuffler/pdfshuffler.SlackBuild')
-rw-r--r--office/pdfshuffler/pdfshuffler.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/office/pdfshuffler/pdfshuffler.SlackBuild b/office/pdfshuffler/pdfshuffler.SlackBuild
index 3d9f79e24a..11485fb642 100644
--- a/office/pdfshuffler/pdfshuffler.SlackBuild
+++ b/office/pdfshuffler/pdfshuffler.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pdfshuffler
-VERSION=0.6.0
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.6.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,10 +53,12 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
+
+patch --verbose -p1 < $CWD/pdfshuffler-PyPDF2.diff
python setup.py install --root=$PKG