aboutsummaryrefslogtreecommitdiff
path: root/libraries/jbig2enc/jbig2enc.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-04 05:44:22 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:47 +0700
commit826edf06bd7c3531ac38dae386c89ed09a2b2f54 (patch)
tree6b9d791d38d7a29071adec8e4c651b656e3d088e /libraries/jbig2enc/jbig2enc.SlackBuild
parent143cdde0d88d928fefe80d732af9c89e9d44d442 (diff)
libraries/jbig2enc: Clean up doc dir.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/jbig2enc/jbig2enc.SlackBuild')
-rw-r--r--libraries/jbig2enc/jbig2enc.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/jbig2enc/jbig2enc.SlackBuild b/libraries/jbig2enc/jbig2enc.SlackBuild
index 87eec85bb0555..91446d16e2880 100644
--- a/libraries/jbig2enc/jbig2enc.SlackBuild
+++ b/libraries/jbig2enc/jbig2enc.SlackBuild
@@ -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