aboutsummaryrefslogtreecommitdiff
path: root/graphics/pdf2png/pdf2png.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pdf2png/pdf2png.SlackBuild')
-rw-r--r--graphics/pdf2png/pdf2png.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild
index 520c94b3a9f32..63c23c022f0fb 100644
--- a/graphics/pdf2png/pdf2png.SlackBuild
+++ b/graphics/pdf2png/pdf2png.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pdf2png
-# Copyright 2014 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2014-2022 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,14 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdf2png
-VERSION=${VERSION:-0.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.5.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -59,9 +56,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch for using python3 in header
-sed -i 's|#!/usr/bin/python3|#!/usr/bin/python|' bin/$PRGNAM.py
-
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION