aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-07-11 01:30:17 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-15 17:30:12 +0700
commitbe86f2148bdc311123af3400357fd1fec06be50c (patch)
treecd7c7ddd9699641ec001905d9e9b3c59a77f4b65 /network
parente6302e72a0183e21dc7c582769ef2b95814cc615 (diff)
network/kirc: Updated for version 0.3.2.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/kirc/kirc.SlackBuild12
-rw-r--r--network/kirc/kirc.info6
2 files changed, 10 insertions, 8 deletions
diff --git a/network/kirc/kirc.SlackBuild b/network/kirc/kirc.SlackBuild
index ce47446b73e4..1fcc027a586e 100644
--- a/network/kirc/kirc.SlackBuild
+++ b/network/kirc/kirc.SlackBuild
@@ -6,12 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230711 bkw: update for v0.3.2.
# 20230103 bkw: update for v0.3.1, fix PKGTYPE, strip binary.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kirc
-VERSION=${VERSION:-0.3.1}
+VERSION=${VERSION:-0.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -60,9 +61,10 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# fix the man page header.
-sed -i \
- "1s, [^ ]*\$, $(date +%Y-%m-%d) $PRGNAM-$VERSION SlackBuilds.org," \
- $PRGNAM.1
+sed -i "/^\\.TH/s, Linux .*, $PRGNAM-$VERSION SlackBuilds.org," $PRGNAM.1
+
+# 20230711 bkw: 0.3.2 has a derp in the Makefile that breaks 'make install'.
+sed -i '/^all:/s,clean,,' Makefile
make CFLAGS="$SLKCFLAGS"
strip $PRGNAM
@@ -70,7 +72,7 @@ make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/kirc/kirc.info b/network/kirc/kirc.info
index ad27178d3283..aa1a7fb26bd1 100644
--- a/network/kirc/kirc.info
+++ b/network/kirc/kirc.info
@@ -1,8 +1,8 @@
PRGNAM="kirc"
-VERSION="0.3.1"
+VERSION="0.3.2"
HOMEPAGE="https://github.com/mcpcpc/kirc"
-DOWNLOAD="https://github.com/mcpcpc/kirc/archive/0.3.1/kirc-0.3.1.tar.gz"
-MD5SUM="7531e6ecea9cb6e173bb07777ba5662b"
+DOWNLOAD="https://github.com/mcpcpc/kirc/archive/0.3.2/kirc-0.3.2.tar.gz"
+MD5SUM="09eb7e9e261f18e1d7823d689d0f04a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""