aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-09-19 17:04:30 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:33:46 +0700
commit92857f1785fcb8064e2abe42f8a6a144fe2e3b98 (patch)
tree2988efb62afd33bf231d5e65b0a27614dd146e55
parent1699b53da6eeaac6022257a7280a06bb55e02d53 (diff)
graphics/libfpx: Fix DOWNLOAD.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/libfpx/libfpx.SlackBuild15
-rw-r--r--graphics/libfpx/libfpx.info2
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=""