graphics/pdf2png: Updated for version 0.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Aaditya Bagga 2014-12-18 14:08:00 +07:00 committed by Willy Sudiarto Raharjo
parent acbaed2e23
commit 16ba23905e
2 changed files with 9 additions and 12 deletions

View file

@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pdf2png PRGNAM=pdf2png
VERSION=${VERSION:-0.4} VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
@ -32,13 +32,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then ARCH=noarch
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
set -e 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 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -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 make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="pdf2png" PRGNAM="pdf2png"
VERSION="0.4" VERSION="0.5"
HOMEPAGE="http://github.com/aadityabagga/pdf2png" HOMEPAGE="http://github.com/aadityabagga/pdf2png"
DOWNLOAD="https://github.com/aadityabagga/pdf2png/archive/0.4.tar.gz" DOWNLOAD="https://github.com/aadityabagga/pdf2png/archive/0.5.tar.gz"
MD5SUM="543a2a01b6a8f8e18342325602ba12d4" MD5SUM="f7cb3d67d5acb978e6ce910dfd213937"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""