net-misc/megasync: fix VariableScope

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-02-09 11:01:52 +05:00
parent 2e1bbb670a
commit d0410417b9
2 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit autotools desktop qmake-utils xdg cmake
@@ -132,17 +132,17 @@ src_configure() {
}
src_compile() {
emake -C src INSTALL_ROOT="${D}" || die
emake -C src INSTALL_ROOT=. || die
use dolphin && cmake_src_compile
}
src_install() {
use dolphin && cmake_src_install
einstalldocs
dobin src/MEGASync/${PN}
insinto usr/share/licenses/${PN}
doins LICENCE.md installer/terms.txt
domenu src/MEGASync/platform/linux/data/${PN}.desktop
cd src/MEGASync/platform/linux/data/icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit autotools desktop qmake-utils xdg cmake
@@ -132,17 +132,17 @@ src_configure() {
}
src_compile() {
emake -C src INSTALL_ROOT="${D}" || die
emake -C src INSTALL_ROOT=. || die
use dolphin && cmake_src_compile
}
src_install() {
use dolphin && cmake_src_install
einstalldocs
dobin src/MEGASync/${PN}
insinto usr/share/licenses/${PN}
doins LICENCE.md installer/terms.txt
domenu src/MEGASync/platform/linux/data/${PN}.desktop
cd src/MEGASync/platform/linux/data/icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png