aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-02-03 21:20:06 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-11 09:30:40 +0700
commit8ea06cd5a7101e1d3dd65da3abeb7e906326eea2 (patch)
treef74c9d0c263bf3cf38a62f2981ae555b6d8c1e62
parentb8999347f2058b2d1d53d8867a8df17ac49c4cc2 (diff)
graphics/libfpx: Remove broken PDF docs.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/libfpx/libfpx.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/libfpx/libfpx.SlackBuild b/graphics/libfpx/libfpx.SlackBuild
index 6563c96ce972c..4e3bc97871881 100644
--- a/graphics/libfpx/libfpx.SlackBuild
+++ b/graphics/libfpx/libfpx.SlackBuild
@@ -6,11 +6,16 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230203 bkw: BUILD=2: the PDF docs are unreadable, remove from package.
+
+# Note to self: keep an eye on https://github.com/ImageMagick/libfpx
+# So far nothing new there but minor build fixes.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libfpx
VERSION=${VERSION:-1.3.1_10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,8 +81,11 @@ make
make install-strip DESTDIR=$PKG
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 doc/* \
+cp -a AUTHORS ChangeLog NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild