41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
# Template file for 'anydesk'
|
|
pkgname=anydesk
|
|
version=6.3.0
|
|
revision=1
|
|
archs="x86_64 armv7l armv7hf"
|
|
create_wrksrc=yes
|
|
hostmakedepends="patchelf"
|
|
depends="hicolor-icon-theme gtkglext"
|
|
short_desc="Fast remote desktop application"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="custom:Proprietary"
|
|
#Free for personal use. Terms and conditions:https://anydesk.com/en/terms
|
|
homepage="https://anydesk.com/remote-desktop"
|
|
nopie=yes
|
|
restricted=yes
|
|
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
x86_64)
|
|
distfiles="https://download.anydesk.com/linux/anydesk_${version}-1_amd64.deb
|
|
https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz"
|
|
checksum="30f6e44cea28428d1cb645055fae72cf166f63318e0c94f2c12d18a3614ce30c
|
|
b1e3337d35ce19af93963829988b2014e8acfbbf6bd1b5adfb8bc7dcd6fee452"
|
|
;;
|
|
armv7*)
|
|
distfiles="https://download.anydesk.com/rpi/anydesk_${version}-1_armhf.deb
|
|
https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz"
|
|
checksum="10a8f442877d65458c800da2a4c772532c178a675c55604cca66156a5c812e1a
|
|
b1e3337d35ce19af93963829988b2014e8acfbbf6bd1b5adfb8bc7dcd6fee452"
|
|
;;
|
|
esac
|
|
|
|
do_build() {
|
|
patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk
|
|
}
|
|
|
|
do_install() {
|
|
vlicense "${pkgname}-${version}"/copyright
|
|
rm -rf "${pkgname}-${version}"
|
|
vcopy usr /
|
|
}
|