[packages/megasync] pre-download archives

glen glen at pld-linux.org
Sat Mar 17 20:35:59 CET 2018


commit 6e3a738cfcb41db09ade894379d3db81ee6cdddd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 17 21:35:34 2018 +0200

    pre-download archives

 megasync.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/megasync.spec b/megasync.spec
index 7861f0d..7fd3f64 100644
--- a/megasync.spec
+++ b/megasync.spec
@@ -6,6 +6,7 @@ License:	Freeware
 Group:		Applications
 Source0:	https://github.com/meganz/MEGAsync/archive/v%{version}_Linux/%{name}-%{version}.tar.gz
 Source1:	https://github.com/meganz/sdk/archive/v3.3.3/%{name}-sdk-3.3.3.tar.gz
+Source2:	https://download.libsodium.org/libsodium/releases/libsodium-1.0.12.tar.gz
 URL:		https://mega.nz/
 BuildRequires:	Qt5Core-devel
 BuildRequires:	Qt5Svg-devel
@@ -41,6 +42,8 @@ Generous: Store up to 50 GB for free!
 %prep
 %setup -q -n MEGAsync-%{version}_Linux -a1
 mv sdk-*/* src/MEGASync/mega
+install -d src/archives
+ln -s %{SOURCE2} src/archives
 
 # use system Crypto++ header files
 #rm -r src/MEGASync/mega/bindings/qt/3rdparty/include/cryptopp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/megasync.git/commitdiff/6e3a738cfcb41db09ade894379d3db81ee6cdddd



More information about the pld-cvs-commit mailing list