mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
fa245d83a1
commit
2e349b50f9
2 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue