summaryrefslogtreecommitdiff
path: root/network/megasync
diff options
context:
space:
mode:
Diffstat (limited to 'network/megasync')
-rw-r--r--network/megasync/megasync.SlackBuild6
-rw-r--r--network/megasync/megasync.info10
2 files changed, 8 insertions, 8 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 . \
diff --git a/network/megasync/megasync.info b/network/megasync/megasync.info
index 835c7b9aa4..7f18f13d01 100644
--- a/network/megasync/megasync.info
+++ b/network/megasync/megasync.info
@@ -1,10 +1,10 @@
PRGNAM="megasync"
-VERSION="2.1.0"
+VERSION="2.3.1"
HOMEPAGE="https://mega.co.nz"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/megasync/2.1.0/megasync-Debian_7.0_i386.deb"
-MD5SUM="b70ae6ffcc6403da367f1e2c779006fc"
-DOWNLOAD_x86_64="http://sourceforge.net/projects/slackbuildsdirectlinks/files/megasync/2.1.0/megasync-Debian_7.0_amd64.deb"
-MD5SUM_x86_64="1cd1fb442568ba3cc6f0cbad46e3ac0a"
+DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/megasync/2.3.1/megasync-Debian_8.0_i386.deb"
+MD5SUM="562775fe7e0a8a785ce6215af6341401"
+DOWNLOAD_x86_64="http://sourceforge.net/projects/slackbuildsdirectlinks/files/megasync/2.3.1/megasync-Debian_8.0_amd64.deb"
+MD5SUM_x86_64="1e925a593a99eebcc51722f4f485377e"
REQUIRES="c-ares cryptopp"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"