mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/zutty: Updated for version 0.15.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7ec0423300
commit
e5751bfcec
2 changed files with 31 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for zutty
|
||||
|
||||
# Copyright 2023 Samuel Young, MO, USA
|
||||
# Copyright 2023-2024 Samuel Young, MO, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,11 +25,21 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=zutty
|
||||
VERSION=${VERSION:-0.14}
|
||||
VERSION=${VERSION:-0.15}
|
||||
COMMIT=3fb1516
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
# This SlackBuild searches for tarball named $VERSION.tar.gz (wget) or
|
||||
# $PRGNAM-$VERSION-$COMMIT.tar.gz (browser). I couldn't find a link to a tarball
|
||||
# with a dedicated filename, so this will have to do.
|
||||
if [ -f $CWD/$VERSION.tar.gz ]; then
|
||||
TARNAM=$VERSION
|
||||
else
|
||||
TARNAM=$PRGNAM-$VERSION-$COMMIT
|
||||
fi
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
|
@ -47,14 +57,24 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$VERSION-$COMMIT
|
||||
tar xvf $CWD/$TARNAM.tar.gz
|
||||
cd $PRGNAM-$VERSION-$COMMIT
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -63,7 +83,9 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
./waf configure \
|
||||
--prefix=/usr
|
||||
--prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX}
|
||||
./waf
|
||||
./waf install --destdir=$PKG
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="zutty"
|
||||
VERSION="0.14"
|
||||
VERSION="0.15"
|
||||
HOMEPAGE="https://tomscii.sig7.se/zutty/"
|
||||
DOWNLOAD="https://github.com/tomscii/zutty/archive/0.14/zutty-0.14.tar.gz"
|
||||
MD5SUM="45c3a53e371ffbb87027d41d99799989"
|
||||
DOWNLOAD="https://git.hq.sig7.se/zutty.git/snapshot/0.15.tar.gz"
|
||||
MD5SUM="45301e40ce2e8ef18a18ef6eb808f559"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue