blob: da97144a956be8426cea85cefbba3723a6afccdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
M_PN=OneDriveGUI
inherit desktop
SRC_URI="https://github.com/bpozdena/OneDriveGUI/archive/refs/tags/v${PV}.tar.gz -> ${PN}.tar.gz"
DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account support."
HOMEPAGE="https://github.com/bpozdena/OneDriveGUI"
RDEPEND="net-misc/onedrive
dev-python/requests
dev-python/pyside6[gui(+),webengine(+),widgets(+)]
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/${M_PN}-${PV}"
src_install() {
#Install binary and alias command
insinto /opt/OneDriveGUI/ && doins -r "${S}/src/resources" && doins -r "${S}/src/ui" && doins -r "${S}/src/OneDriveGUI.py"
insinto /opt/bin/ && doins "${FILESDIR}/OneDriveGUI"
fperms +x /opt/OneDriveGUI/OneDriveGUI.py /opt/bin/OneDriveGUI
#Icon and Desktop File
doicon "${S}/src/resources/images/OneDriveGUI.ico"
domenu "${FILESDIR}/OneDriveGUI.desktop"
}
|