summaryrefslogtreecommitdiff
path: root/graphics/pdf2png
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2014-12-18 14:08:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-18 14:08:00 +0700
commit16ba23905eda5ec312d695dd0c3bfbdec2aadb48 (patch)
treef5aef844bcacbba07ebb25ea3cb9068f5f844c60 /graphics/pdf2png
parentacbaed2e23d9063fdc62b91ce436ed683a51af37 (diff)
downloadslackbuilds-16ba23905eda5ec312d695dd0c3bfbdec2aadb48.tar.gz
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.SlackBuild15
-rw-r--r--graphics/pdf2png/pdf2png.info6
2 files changed, 9 insertions, 12 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
diff --git a/graphics/pdf2png/pdf2png.info b/graphics/pdf2png/pdf2png.info
index 996ab59f61..b782842290 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=""