graphics/pdf2svg: Fix DOWNLOAD url + switch to i586.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Akio Nishimura 2017-02-05 15:10:14 +07:00 committed by Willy Sudiarto Raharjo
parent 9ae6940766
commit a45e589e83
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 6 additions and 6 deletions

View file

@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -67,7 +67,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./configure \
--prefix=/usr \

View file

@ -1,8 +1,8 @@
PRGNAM="pdf2svg"
VERSION="0.2.2"
HOMEPAGE="http://www.cityinthesky.co.uk/opensource/pdf2svg/"
DOWNLOAD="http://www.cityinthesky.co.uk/wp-content/uploads/2013/10/pdf2svg-0.2.2.tar.gz"
MD5SUM="800488ff6d773b309561dfa9be5dc712"
DOWNLOAD="https://github.com/dawbarton/pdf2svg/archive/v0.2.2/pdf2svg-0.2.2.tar.gz"
MD5SUM="f7e0d2213f9e1422cee9421e18f72553"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""