graphics/libfpx: Remove broken PDF docs.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-02-03 21:20:06 -05:00 committed by Willy Sudiarto Raharjo
parent b8999347f2
commit 8ea06cd5a7
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 10 additions and 2 deletions

View File

@ -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