system/slack-utils: Updated for version 0.7.5.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2023-12-08 11:08:41 +01:00 committed by Willy Sudiarto Raharjo
parent b5652c05f4
commit 2ccedcabbe
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 14 deletions

View file

@ -27,7 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=slack-utils
VERSION=${VERSION:-0.7.2}
VERSION=${VERSION:-0.7.5}
SRCVER=$(echo $VERSION | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -51,19 +52,12 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
# 20220210 bkw: we get gibberish in the filename depending on whether
# the downloader (wget, browser, etc) respects the Content-disposition
# header. Handle either possibility.
TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
[ -e $TARBALL ] || TARBALL="$( /bin/ls $TARBALL\?* 2>/dev/null | head -1 )"
[ -z "$TARBALL" ] && echo "Can't find the source tarball!" && exit 1
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $TARBALL
cd $PRGNAM-$VERSION
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+

View file

@ -1,8 +1,8 @@
PRGNAM="slack-utils"
VERSION="0.7.2"
VERSION="0.7.5"
HOMEPAGE="https://github.com/vbatts/slack-utils"
DOWNLOAD="https://github.com/downloads/vbatts/slack-utils/slack-utils-0.7.2.tar.gz"
MD5SUM="dbb174c55087186f69c47256c514ad4e"
DOWNLOAD="https://github.com/vbatts/slack-utils/archive/0_7_5/slack-utils-0.7.5.tar.gz"
MD5SUM="e15f84ad533239ffac257c8818705f64"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""