summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRafał Kozdrój2019-06-25 16:24:03 +0200
committerRafał Kozdrój2019-06-25 16:24:03 +0200
commit5b199ce40bc8ccf320bb821adc40e3f1af3245bb (patch)
treecb8261d861f9d0860707a5e1ca2205cccd88801f /PKGBUILD
parentb81c77ba27000bed4bdf792b416e92ee3b1cfbc9 (diff)
downloadaur-5b199ce40bc8ccf320bb821adc40e3f1af3245bb.tar.gz
upgpkg: megasync 4.2.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0b235b90c36..110421664a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: Hexchain Tong <i at hexchain dot org>
pkgname=megasync
-pkgver=4.1.1.0
+pkgver=4.2.0
pkgrel=1
pkgdesc="Easy automated syncing between your computers and your MEGA cloud drive"
arch=('i686' 'x86_64')
@@ -16,8 +16,8 @@ depends=('c-ares' 'crypto++' 'libsodium' 'hicolor-icon-theme' 'libuv'
'qt5-svg' 'libmediainfo' 'libraw' 'qt5-base' 'ffmpeg')
makedepends=('qt5-tools' 'swig' 'doxygen' 'lsb-release' 'git')
optdepends=('sni-qt: fix systray issue on KDE and LXQt')
-_extname="Linux"
-_sdk_commit="30853f9834a147e7e67011ab91e78674a7963add"
+_extname="ArchLinux"
+_sdk_commit="8fa7940db5d4cd6d36f52f340961018a846a8544"
source=("git+https://github.com/meganz/MEGAsync.git#tag=v${pkgver}_${_extname}"
"meganz-sdk::git+https://github.com/meganz/sdk.git#commit=${_sdk_commit}")
sha256sums=('SKIP'
@@ -65,10 +65,10 @@ package () {
cd "MEGAsync"
install -Dm 644 LICENCE.md "${pkgdir}/usr/share/licenses/megasync/LICENCE"
install -Dm 644 installer/terms.txt "${pkgdir}/usr/share/licenses/megasync/terms.txt"
-
+ install -Dm 644 src/MEGASync/mega/LICENSE "${pkgdir}/usr/share/licenses/megasync/SDK-LICENCE"
+
cd "src"
make INSTALL_ROOT="${pkgdir}" install
- cd "MEGASync"
- install -Dm 755 megasync "${pkgdir}/usr/bin/megasync"
+ install -Dm 755 "MEGASync/megasync" "${pkgdir}/usr/bin/megasync"
}