dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / net-misc / todesk / todesk-4.1.0.ebuild
blob079a68d5e637ef1472f0fcdee7a46a83bf22367e
1 # Copyright 2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 DESCRIPTION="ToDesk不一样的远控体验,轻松打破物理限制,随时随地高效使用所有计算终端"
7 HOMEPAGE="https://www.todesk.com/"
8 SRC_URI="https://newdl.todesk.com/linux/todesk_${PV}_x86_64.pkg.tar.zst"
10 S="${WORKDIR}"
12 LICENSE="todesk"
14 SLOT="0"
15 KEYWORDS="amd64"
17 RESTRICT="strip mirror"
19 src_unpack(){
20 pushd "${DISTDIR}"
21 tar -xvf ${A} -C "${WORKDIR}"
22 popd
25 src_install(){
26 insinto /
27 doins -r usr/
28 doins -r opt/
29 doins -r etc/
30 fperms 0755 /usr/bin/todesk
31 fperms 0755 /opt/todesk/bin/todesk
32 fperms 0755 /opt/todesk/bin/todeskc
33 fperms 0755 /opt/todesk/bin/todeskd