void-packages/srcpkgs/anydesk/template

32 lines
908 B
Bash

# Template file for 'anydesk'
pkgname=anydesk
version=6.2.0
revision=2
archs="x86_64"
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
distfiles="https://download.anydesk.com/linux/anydesk_${version}-1_x86_64.rpm
https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz"
checksum="49ffb7e2a0ac1f44319cbf221606e25171cc2a6925b5b31aad484b290740d48e
93ce67407d855b21170e007e3dde324ad7cd0a3922206136bc0fd84d72da2b8a"
do_build() {
patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk
}
do_install() {
vlicense "${pkgname}-${version}"/copyright
rm -rf "${pkgname}-${version}"
vcopy "*" /
}