void-packages/srcpkgs/anydesk/template

32 lines
908 B
Bash

# Template file for 'anydesk'
pkgname=anydesk
version=6.2.1
revision=1
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="68f8395a0c84f2560ffa425497fbf9846a61bb2dbc4b1010a8ffca7856514ab2
96a7ded2144ecdaff381c34e49eee3275caaaac00847e91abf5e7783706c989c"
do_build() {
patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk
}
do_install() {
vlicense "${pkgname}-${version}"/copyright
rm -rf "${pkgname}-${version}"
vcopy "*" /
}