From a45e589e83a43d1810c94c8b8e13b5f8578f1a92 Mon Sep 17 00:00:00 2001 From: Akio Nishimura Date: Sun, 5 Feb 2017 15:10:14 +0700 Subject: [PATCH] graphics/pdf2svg: Fix DOWNLOAD url + switch to i586. Signed-off-by: Willy Sudiarto Raharjo --- graphics/pdf2svg/pdf2svg.SlackBuild | 8 ++++---- graphics/pdf2svg/pdf2svg.info | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/graphics/pdf2svg/pdf2svg.SlackBuild b/graphics/pdf2svg/pdf2svg.SlackBuild index 03c2237f0e..82d463fd1a 100644 --- a/graphics/pdf2svg/pdf2svg.SlackBuild +++ b/graphics/pdf2svg/pdf2svg.SlackBuild @@ -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 \ diff --git a/graphics/pdf2svg/pdf2svg.info b/graphics/pdf2svg/pdf2svg.info index 91c59163fd..08b7900501 100644 --- a/graphics/pdf2svg/pdf2svg.info +++ b/graphics/pdf2svg/pdf2svg.info @@ -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=""