summaryrefslogtreecommitdiff
path: root/source/xap
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-10-04 19:28:39 +0000
committerEric Hameleers <alien@slackware.com>2021-10-05 09:00:04 +0200
commitc8de49b25af424891cc61038361873c809f5c2b7 (patch)
tree4efc0afbcac561c4779c1251f354699da4fcf868 /source/xap
parentd1596dee9dd02b4f89228bf87a72a6fb8cefccf5 (diff)
downloadcurrent-c8de49b25af424891cc61038361873c809f5c2b7.tar.gz
Mon Oct 4 19:28:39 UTC 202120211004192839
a/util-linux-2.37.2-x86_64-3.txz: Rebuilt. Removed broken /usr/bin/raw symlink. Thanks to marav. d/gdb-11.1-x86_64-2.txz: Rebuilt. Don't ship .la files. d/vala-0.54.2-x86_64-1.txz: Upgraded. kde/artikulate-21.08.1-x86_64-3.txz: Rebuilt. Fixed broken COPYING{,.DOC} symlinks. Thanks to marav. kde/kservice-5.86.0-x86_64-4.txz: Rebuilt. In /etc/profile.d/kde.{csh,sh}: Fixed test for kf5 directory. Thanks to LuckyCyborg. Make adding /etc/kde/xdg to $XDG_CONFIG_DIRS conditional on the existence of that directory. l/imagemagick-7.1.0_9-x86_64-1.txz: Upgraded. n/bind-9.16.21-x86_64-4.txz: Rebuilt. Removed broken symlink. Thanks to marav. n/httpd-2.4.50-x86_64-1.txz: Upgraded. x/cldr-emoji-annotation-37.0_13.0_0_2-noarch-4.txz: Rebuilt. Fixed broken COPYING symlink. Thanks to marav. xap/x3270-4.0ga14-x86_64-2.txz: Rebuilt. Fixed symlinks in html directory. Thanks to marav.
Diffstat (limited to 'source/xap')
-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