diff options
Diffstat (limited to 'graphics/pdf2png/pdf2png.SlackBuild')
-rw-r--r-- | graphics/pdf2png/pdf2png.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild index fb7d499296..4eb10311bf 100644 --- a/graphics/pdf2png/pdf2png.SlackBuild +++ b/graphics/pdf2png/pdf2png.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pdf2png -VERSION=${VERSION:-0.4} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.5} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -32,13 +32,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i486 ;; - arm*) export ARCH=arm ;; - *) export ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch set -e @@ -55,6 +49,9 @@ 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 |