aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-03 19:56:37 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:45 +0700
commit2e349b50f95dd49213ae84d256b70eb408db58a3 (patch)
tree0b41477441a5c138aa6d79d512983ca4934975bd
parentfa245d83a1baaa7daa06322a3451834591898bbb (diff)
network/kirc: Updated for version 0.3.1.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/kirc/kirc.SlackBuild10
-rw-r--r--network/kirc/kirc.info6
2 files changed, 10 insertions, 6 deletions
diff --git a/network/kirc/kirc.SlackBuild b/network/kirc/kirc.SlackBuild
index 9b4cfe1ab0a55..ce47446b73e4d 100644
--- a/network/kirc/kirc.SlackBuild
+++ b/network/kirc/kirc.SlackBuild
@@ -6,12 +6,15 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230103 bkw: update for v0.3.1, fix PKGTYPE, strip binary.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kirc
-VERSION=${VERSION:-0.2.8}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -61,7 +64,8 @@ sed -i \
"1s, [^ ]*\$, $(date +%Y-%m-%d) $PRGNAM-$VERSION SlackBuilds.org," \
$PRGNAM.1
-make CFLAGS="$SLKCFLAGS -Wl,-s"
+make CFLAGS="$SLKCFLAGS"
+strip $PRGNAM
make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
gzip -9 $PKG/usr/man/man?/*.?
@@ -73,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kirc/kirc.info b/network/kirc/kirc.info
index b83131174c345..ad27178d32839 100644
--- a/network/kirc/kirc.info
+++ b/network/kirc/kirc.info
@@ -1,8 +1,8 @@
PRGNAM="kirc"
-VERSION="0.2.8"
+VERSION="0.3.1"
HOMEPAGE="https://github.com/mcpcpc/kirc"
-DOWNLOAD="https://github.com/mcpcpc/kirc/archive/0.2.8/kirc-0.2.8.tar.gz"
-MD5SUM="019e4aa2492e2ff035a9fbe1f42b4c56"
+DOWNLOAD="https://github.com/mcpcpc/kirc/archive/0.3.1/kirc-0.3.1.tar.gz"
+MD5SUM="7531e6ecea9cb6e173bb07777ba5662b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""