summaryrefslogtreecommitdiff
path: root/audio/nekobee/nekobee.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-07 18:50:53 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 09:46:11 +0700
commit9b38fe7548b8fca3d06a23e2f506baa519504456 (patch)
tree20a63260be97e766c1bfb7a651a59898e730bf37 /audio/nekobee/nekobee.SlackBuild
parent14278960dcb76989c6ce77de6c4d31782c3d89a9 (diff)
downloadslackbuilds-9b38fe7548b8fca3d06a23e2f506baa519504456.tar.gz
audio/nekobee: Fix github tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/nekobee/nekobee.SlackBuild')
-rw-r--r--audio/nekobee/nekobee.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/nekobee/nekobee.SlackBuild b/audio/nekobee/nekobee.SlackBuild
index b0ea9ce2ca..02d608b942 100644
--- a/audio/nekobee/nekobee.SlackBuild
+++ b/audio/nekobee/nekobee.SlackBuild
@@ -12,6 +12,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nekobee
VERSION=${VERSION:-56187f6}
+SRCVERSION=${SRCVERSION:-56187f6b0b4a22d1e51fa19221df2d506d2b9b01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -55,11 +56,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz \
- -C $PRGNAM-$VERSION --strip-components 1
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+cd $PRGNAM-$SRCVERSION
# https://github.com/gordonjcp/nekobee/pull/9/files
patch -p1 < $CWD/multiple_user_friendly_id.patch