network/megasync: Updated for version 2.3.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-10-18 16:17:47 +07:00
parent 82a13ae67f
commit 02b39baf59
2 changed files with 8 additions and 8 deletions

View File

@ -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 . \

View File

@ -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"