network/megasync: Revert back to Debian 7 packages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
306db4f381
commit
7243405d64
|
@ -54,7 +54,7 @@ fi
|
|||
set -e
|
||||
|
||||
# Get the real version
|
||||
REAL_VER=$(ar p megasync-Debian_8.0_${DEBARCH}.deb control.tar.gz | tar xzO ./control | grep Version | cut -d\ -f2 | cut -d- -f1)
|
||||
REAL_VER=$(ar p megasync-Debian_7.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_8.0_${DEBARCH}.deb data.tar.xz | tar xJv
|
||||
ar p $CWD/megasync-Debian_7.0_${DEBARCH}.deb data.tar.gz | gzip -d | tar xv
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="megasync"
|
||||
VERSION="2.3.1"
|
||||
HOMEPAGE="https://mega.co.nz"
|
||||
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"
|
||||
DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/megasync/2.3.1/megasync-Debian_7.0_i386.deb"
|
||||
MD5SUM="77191e2b83be6bf0fb6118309ccc5f46"
|
||||
DOWNLOAD_x86_64="http://sourceforge.net/projects/slackbuildsdirectlinks/files/megasync/2.3.1/megasync-Debian_7.0_amd64.deb"
|
||||
MD5SUM_x86_64="29ef7419d187e9960f74c04ccc26a3fd"
|
||||
REQUIRES="c-ares cryptopp"
|
||||
MAINTAINER="Willy Sudiarto Raharjo"
|
||||
EMAIL="willysr@slackbuilds.org"
|
||||
|
|
Loading…
Reference in New Issue