From 92857f1785fcb8064e2abe42f8a6a144fe2e3b98 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 19 Sep 2023 17:04:30 -0400 Subject: graphics/libfpx: Fix DOWNLOAD. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- graphics/libfpx/libfpx.SlackBuild | 15 +++++++++------ graphics/libfpx/libfpx.info | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/graphics/libfpx/libfpx.SlackBuild b/graphics/libfpx/libfpx.SlackBuild index 4e3bc9787188..05bf8faee5ba 100644 --- a/graphics/libfpx/libfpx.SlackBuild +++ b/graphics/libfpx/libfpx.SlackBuild @@ -6,6 +6,9 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230919 bkw: update download link (thanks to Alexander Verbovetsky for +# finding the new URL). + # 20230203 bkw: BUILD=2: the PDF docs are unreadable, remove from package. # Note to self: keep an eye on https://github.com/ImageMagick/libfpx @@ -60,8 +63,8 @@ rm -rf $PRGNAM-$SRCVER tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 cd $PRGNAM-$SRCVER chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + patch -p1 < $CWD/export-symbols.patch @@ -84,10 +87,10 @@ rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la # 20230203 bkw: Do not include doc/* here. The PDF files are # gibberish, can't seem to recover them with either ghostscript or # mutool. The readme.txt doesn't look useful at all. -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a AUTHORS ChangeLog NEWS README $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/graphics/libfpx/libfpx.info b/graphics/libfpx/libfpx.info index b8f0d546f680..c301723e7e48 100644 --- a/graphics/libfpx/libfpx.info +++ b/graphics/libfpx/libfpx.info @@ -1,7 +1,7 @@ PRGNAM="libfpx" VERSION="1.3.1_10" HOMEPAGE="http://fileformats.archiveteam.org/wiki/FlashPix" -DOWNLOAD="https://ftp.osuosl.org/pub/gentoo/distfiles/libfpx-1.3.1-10.tar.bz2" +DOWNLOAD="https://imagemagick.org/archive/delegates/libfpx-1.3.1-10.tar.bz2" MD5SUM="2841629bac1e3ae2b00c40d1ab2b721a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3