New Package: MEGAsync-3.5.0.0
This commit is contained in:
parent
2a9e002d66
commit
6124f2c1b4
1 changed files with 36 additions and 0 deletions
36
srcpkgs/MEGAsync/template
Normal file
36
srcpkgs/MEGAsync/template
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'MEGAsync'
|
||||
pkgname=MEGAsync
|
||||
version=3.5.0.0
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${version}_OSX"
|
||||
build_wrksrc="src"
|
||||
build_style=qmake
|
||||
configure_args='"CONFIG-=with_tools"'
|
||||
hostmakedepends="libtool qt5-qmake qt5-host-tools"
|
||||
makedepends="qt5-tools-devel qt5-devel qt5-svg-devel MEGAsdk-devel MEGAsdk-qt"
|
||||
short_desc="Automated syncing with MEGA Cloud Drive"
|
||||
maintainer="John <johnz@posteo.net>"
|
||||
license="custom"
|
||||
homepage="https://mega.co.nz"
|
||||
distfiles="https://github.com/meganz/MEGAsync/archive/v${version}_OSX.tar.gz"
|
||||
checksum=05900226bbefba5c150311a9d07d46d012f0d922d28377c6683a96a9770c9fa3
|
||||
restricted=yes
|
||||
nocross=yes
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) broken="google breakpad";;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
cp -r ${XBPS_CROSS_BASE}/usr/share/MEGAsdk/bindings \
|
||||
${wrksrc}/src/MEGASync/mega
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
lrelease-qt5 MEGASync/MEGASync.pro
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vbin MEGASync/megasync
|
||||
vlicense ${wrksrc}/LICENCE.md
|
||||
}
|
Loading…
Reference in a new issue