diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/xaric/xaric.SlackBuild | 25 | ||||
-rw-r--r-- | network/xaric/xaric.info | 6 |
2 files changed, 20 insertions, 11 deletions
diff --git a/network/xaric/xaric.SlackBuild b/network/xaric/xaric.SlackBuild index 91d08506e0143..bbff2b93cfb0c 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 2472aa7845d29..3019372dd2be2 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="" |