1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-22 14:41:04 +01:00
void-packages/srcpkgs/anydesk/template

40 lines
1.3 KiB
Bash

# Template file for 'anydesk' from https://github.com/void-linux/void-packages/blob/master/srcpkgs/anydesk/template
pkgname=anydesk
version=6.3.1
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="923bba7abf8a3037e50d71d6c3f18a9ec9f2d2d075bbac3ac4c93bc5e836f9f9
a9592cbdaebe11f01088e7b13fc3650d2091e406f6586b2e086e010fceeb95a8"
;;
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 /
}