libraries/jbig2enc: Clean up doc dir.

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-01-04 05:44:22 -05:00 committed by Willy Sudiarto Raharjo
parent 143cdde0d8
commit 826edf06bd
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230104 bkw: BUILD=3, remove INSTALL
# 20211124 bkw: BUILD=2, remove .la file
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jbig2enc
VERSION=${VERSION:-0.29}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -93,8 +94,10 @@ for i in $MANPAGES; do
done
# docs already installed, except this one:
cp -a fcd14492.pdf $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
cp -a fcd14492.pdf $PKGDOC
rm -f $PKGDOC/INSTALL
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc