gentoo-zh/net-misc/todesk/todesk-4.1.0.ebuild
2024-08-16 20:03:53 +08:00

35 lines
706 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="ToDesk不一样的远控体验轻松打破物理限制随时随地高效使用所有计算终端"
HOMEPAGE="https://www.todesk.com/"
SRC_URI="https://newdl.todesk.com/linux/todesk_${PV}_x86_64.pkg.tar.zst"
S="${WORKDIR}"
LICENSE="todesk"
SLOT="0"
KEYWORDS="amd64"
RESTRICT="strip mirror"
src_unpack(){
pushd "${DISTDIR}"
tar -xvf ${A} -C "${WORKDIR}"
popd
}
src_install(){
insinto /
doins -r usr/
doins -r opt/
doins -r etc/
fperms 0755 /usr/bin/todesk
fperms 0755 /opt/todesk/bin/todesk
fperms 0755 /opt/todesk/bin/todeskc
fperms 0755 /opt/todesk/bin/todeskd
}