summaryrefslogtreecommitdiffstats
path: root/source/xap
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-12-12 19:54:42 +0000
committer Eric Hameleers <alien@slackware.com>2023-12-12 22:06:31 +0100
commitad1b1833ef7c081fab1d2fa8a45f2f663180b68d (patch)
treeacb6fac900d968caa6af8f4a29acc0ff230d6a3b /source/xap
parentb04af892853e58c426e27bff4f0acbcd3d524f06 (diff)
downloadcurrent-ad1b1833ef7c081fab1d2fa8a45f2f663180b68d.tar.gz
current-ad1b1833ef7c081fab1d2fa8a45f2f663180b68d.tar.xz
Tue Dec 12 19:54:42 UTC 202320231212195442
a/aaa_libraries-15.1-x86_64-24.txz: Rebuilt. Upgraded: libglib-2.0.so.0.7800.3, libgmodule-2.0.so.0.7800.3, libgobject-2.0.so.0.7800.3, libgthread-2.0.so.0.7800.3. Removed: libicudata.so.73.2, libicui18n.so.73.2, libicuio.so.73.2, libicutest.so.73.2, libicutu.so.73.2, libicuuc.so.73.2. ap/rpm-4.19.1-x86_64-1.txz: Upgraded. l/frei0r-plugins-2.3.2-x86_64-1.txz: Upgraded. l/icu4c-74.2-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-115.5.2-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/115.5.2/releasenotes/ xap/x3270-4.3ga4-x86_64-1.txz: Upgraded. extra/brltty/brltty-6.6-x86_64-2.txz: Rebuilt. Recompiled against icu4c-74.2.
Diffstat (limited to 'source/xap')
-rwxr-xr-xsource/xap/x3270/x3270.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/xap/x3270/x3270.SlackBuild b/source/xap/x3270/x3270.SlackBuild
index 95c4ae7fd..769b328b9 100755
--- a/source/xap/x3270/x3270.SlackBuild
+++ b/source/xap/x3270/x3270.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2012, 2018, 2021 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2012, 2018, 2021, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=x3270
-VERSION=4.0
+VERSION=4.3
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:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -126,11 +126,17 @@ for i in $( find $PKG/usr/man -type l ) ; do
rm $i
done
+# Most of these docs are gone, but we'll keep trying ;-)
mkdir -p $PKG/usr/doc/x3270-$TARBVER
cp -a \
x3270/LICENSE* x3270/README* x3270/Examples \
README* \
$PKG/usr/doc/x3270-$TARBVER
+# If there's no LICENSE, we do need to do something about that:
+if [ ! -r $PKG/usr/doc/x3270-$TARBVER/LICENSE ]; then
+ sed -n '3,28p;28q' x3270/conf.h > $PKG/usr/doc/x3270-$TARBVER/LICENSE
+fi
+## COMMENTED OUT as there doesn't seem to be anything useful here any more:
# Dereference symbolic links while copying html docs:
mkdir -p $PKG/usr/doc/x3270-$TARBVER/html
( cd x3270/html