summaryrefslogtreecommitdiff
path: root/source/xap/x3270
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/x3270')
-rwxr-xr-xsource/xap/x3270/x3270.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/xap/x3270/x3270.SlackBuild b/source/xap/x3270/x3270.SlackBuild
index 1966e0ac..eb922d77 100755
--- a/source/xap/x3270/x3270.SlackBuild
+++ b/source/xap/x3270/x3270.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=x3270
VERSION=4.0
TARBVER=${TARBVER:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
VERSION=$(echo $TARBVER | cut -f 1,2 -d .)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -128,9 +128,16 @@ done
mkdir -p $PKG/usr/doc/x3270-$TARBVER
cp -a \
- x3270/LICENSE* x3270/README* x3270/Examples x3270/html \
+ x3270/LICENSE* x3270/README* x3270/Examples \
README* \
$PKG/usr/doc/x3270-$TARBVER
+# Dereference symbolic links while copying html docs:
+mkdir -p $PKG/usr/doc/x3270-$TARBVER/html
+( cd x3270/html
+ for file in * ; do
+ cp -a $(readlink -f $file) $PKG/usr/doc/x3270-$TARBVER/html/$file
+ done
+)
mkdir -p $PKG/install
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh