summaryrefslogtreecommitdiff
path: root/network/megasync/megasync.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-18 16:17:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-18 16:17:47 +0700
commit02b39baf5931c761d4df912e0bbe9bd1de9be634 (patch)
tree3e61badbe98e576ad17e71b699c016d69f2cc46b /network/megasync/megasync.SlackBuild
parent82a13ae67fab8afc8a4b841cd8c8812bc78758fe (diff)
downloadslackbuilds-02b39baf5931c761d4df912e0bbe9bd1de9be634.tar.gz
network/megasync: Updated for version 2.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/megasync/megasync.SlackBuild')
-rw-r--r--network/megasync/megasync.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/megasync/megasync.SlackBuild b/network/megasync/megasync.SlackBuild
index 6bd0156788..dadb62a28b 100644
--- a/network/megasync/megasync.SlackBuild
+++ b/network/megasync/megasync.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=megasync
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,7 @@ fi
set -e
# Get the real version
-REAL_VER=$(ar p megasync-Debian_7.0_${DEBARCH}.deb control.tar.gz | tar xzO ./control | grep Version | cut -d\ -f2 | cut -d- -f1)
+REAL_VER=$(ar p megasync-Debian_8.0_${DEBARCH}.deb control.tar.gz | tar xzO ./control | grep Version | cut -d\ -f2 | cut -d- -f1)
if [ "$VERSION" != "$REAL_VER" ]; then
echo "Version of downloaded source [$REAL_VER] does not match version of SlackBuild [$VERSION]"
exit 1
@@ -63,7 +63,7 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/megasync-Debian_7.0_${DEBARCH}.deb data.tar.gz | gzip -d | tar xv
+ar p $CWD/megasync-Debian_8.0_${DEBARCH}.deb data.tar.xz | tar xJv
chown -R root:root .
find -L . \