office/fop: Update README, symlink.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-04-12 12:18:54 -04:00 committed by Willy Sudiarto Raharjo
parent 99758fab55
commit 436c3bbd3e
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -23,7 +23,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220305 bkw: Modified by SlackBuilds.org: # 20220412 bkw: Modified by SlackBuilds.org, BUILD=2:
# - remove mention of jai and jai-imageio from README, since we no
# longer have these in the repo.
# - use relative symlink for binary.
# 20220301 bkw: Modified by SlackBuilds.org: fix build on 15.0.
# The fop-2.6 SlackBuild downloaded 230 prebuilt .jar files during its # The fop-2.6 SlackBuild downloaded 230 prebuilt .jar files during its
# build process. Since we're trusting prebuilt code anyway, and since # build process. Since we're trusting prebuilt code anyway, and since
# we prefer not to do network access from a SlackBuild, I've made this # we prefer not to do network access from a SlackBuild, I've made this
@ -39,7 +44,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fop PRGNAM=fop
VERSION=${VERSION:-2.7} VERSION=${VERSION:-2.7}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -91,7 +96,7 @@ cd $PKG/opt
ln -s $PRGNAM-$VERSION $PRGNAM ln -s $PRGNAM-$VERSION $PRGNAM
mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/bin
ln -s /opt/$PRGNAM-$VERSION/$PRGNAM $PKG/usr/bin/$PRGNAM ln -s ../../opt/$PRGNAM-$VERSION/$PRGNAM $PKG/usr/bin/$PRGNAM
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild