mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
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:
parent
b5652c05f4
commit
2ccedcabbe
2 changed files with 8 additions and 14 deletions
|
@ -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 {} \+
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue