aboutsummaryrefslogtreecommitdiff
path: root/network/xaric
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-26 16:29:54 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:27 +0700
commit52227e6ded21e06fe7409c5faae68fb2d33e645b (patch)
treedc89c00785b21a3ee747c0419c10458261a45d7c /network/xaric
parent37ba5f52cf0ec29fd1e29f9508a49618c5073673 (diff)
network/xaric: Updated for version 0.13.9.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/xaric')
-rw-r--r--network/xaric/xaric.SlackBuild25
-rw-r--r--network/xaric/xaric.info6
2 files changed, 20 insertions, 11 deletions
diff --git a/network/xaric/xaric.SlackBuild b/network/xaric/xaric.SlackBuild
index 91d08506e014..bbff2b93cfb0 100644
--- a/network/xaric/xaric.SlackBuild
+++ b/network/xaric/xaric.SlackBuild
@@ -6,13 +6,18 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210926 bkw:
+# - update for v0.13.9.
+# - minor man page fixes.
+# - change default server to irc.libera.chat. Nobody should ever connect
+# to the ruins of freenode, not even by accident.
# 20201122 bkw: BUILD=2, install icons to the right place.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xaric
-VERSION=${VERSION:-0.13.7}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.13.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -24,9 +29,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -62,10 +64,17 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-sed -i 's,/usr/local,/usr,' $PRGNAM.1
+# Do not connect to that lunatic's network by default.
+sed -i 's,irc\.freenode\.net,irc.libera.chat,' defaults.h
-CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
-CXXFLAGS="$SLKCFLAGS" \
+# Clean up man page a bit.
+sed -i -e 's,/usr/local,/usr,' \
+ -e '/^\\fB\\-b/s,^,.TP\n,' \
+ -e '/-L file/s,$, [\\fInickname\\fP] [\\fIirc\\-server\\fP ...],' \
+ -e 's,\<wont\>,won'\''t,' \
+ $PRGNAM.1
+
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
diff --git a/network/xaric/xaric.info b/network/xaric/xaric.info
index 2472aa7845d2..3019372dd2be 100644
--- a/network/xaric/xaric.info
+++ b/network/xaric/xaric.info
@@ -1,8 +1,8 @@
PRGNAM="xaric"
-VERSION="0.13.7"
+VERSION="0.13.9"
HOMEPAGE="https://xaric.org/"
-DOWNLOAD="http://xaric.org/software/xaric/releases/xaric-0.13.7.tar.gz"
-MD5SUM="46f4460dfab17819dd6d7e543be75206"
+DOWNLOAD="https://xaric.org/software/xaric/releases/xaric-0.13.9.tar.gz"
+MD5SUM="09555effce003019724d2e0e123885e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""