void-packages/srcpkgs/anydesk/template

32 lines
912 B
Bash

# Template file for 'anydesk'
pkgname=anydesk
version=6.1.1
revision=2
archs="x86_64"
create_wrksrc="yes"
hostmakedepends="patchelf rpmextract"
depends="hicolor-icon-theme"
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="93f8ffb2ec46b7601be7682a4096a23ac19768bc5bcd88afb28a88c90f38867a
102e72c75502a4779083320322dd047e2b0c00a25ead7444a00aad1db54325aa"
do_build() {
patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk
}
do_install() {
vlicense "${pkgname}-${version}"/copyright
rm -rf "${pkgname}-${version}"
vcopy "*" /
}