From 02b39baf5931c761d4df912e0bbe9bd1de9be634 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 18 Oct 2015 16:17:47 +0700 Subject: network/megasync: Updated for version 2.3.1. Signed-off-by: Willy Sudiarto Raharjo --- network/megasync/megasync.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'network/megasync/megasync.SlackBuild') diff --git a/network/megasync/megasync.SlackBuild b/network/megasync/megasync.SlackBuild index 6bd0156788664..dadb62a28b736 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 . \ -- cgit v1.2.3