diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2014-12-18 14:08:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-18 14:08:00 +0700 |
commit | 16ba23905eda5ec312d695dd0c3bfbdec2aadb48 (patch) | |
tree | f5aef844bcacbba07ebb25ea3cb9068f5f844c60 /graphics/pdf2png | |
parent | acbaed2e23d9063fdc62b91ce436ed683a51af37 (diff) |
graphics/pdf2png: Updated for version 0.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/pdf2png')
-rw-r--r-- | graphics/pdf2png/pdf2png.SlackBuild | 15 | ||||
-rw-r--r-- | graphics/pdf2png/pdf2png.info | 6 |
2 files changed, 9 insertions, 12 deletions
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild index fb7d49929664..4eb10311bfbb 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 diff --git a/graphics/pdf2png/pdf2png.info b/graphics/pdf2png/pdf2png.info index 996ab59f616f..b7828422902c 100644 --- a/graphics/pdf2png/pdf2png.info +++ b/graphics/pdf2png/pdf2png.info @@ -1,8 +1,8 @@ PRGNAM="pdf2png" -VERSION="0.4" +VERSION="0.5" HOMEPAGE="http://github.com/aadityabagga/pdf2png" -DOWNLOAD="https://github.com/aadityabagga/pdf2png/archive/0.4.tar.gz" -MD5SUM="543a2a01b6a8f8e18342325602ba12d4" +DOWNLOAD="https://github.com/aadityabagga/pdf2png/archive/0.5.tar.gz" +MD5SUM="f7cb3d67d5acb978e6ce910dfd213937" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |