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>
This commit is contained in:
B. Watson 2023-01-03 19:56:37 -05:00 committed by Willy Sudiarto Raharjo
parent fa245d83a1
commit 2e349b50f9
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 10 additions and 6 deletions

View File

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

View File

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