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>
This commit is contained in:
B. Watson 2021-09-26 16:29:54 -04:00 committed by Willy Sudiarto Raharjo
parent 37ba5f52cf
commit 52227e6ded
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 20 additions and 11 deletions

View file

@ -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} \

View file

@ -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=""