void-packages/srcpkgs/anydesk/template
2019-12-05 15:29:24 +01:00

31 lines
1.1 KiB
Bash

# Template file for 'anydesk'
pkgname=anydesk
version=5.5.1
revision=1
archs="i686 x86_64"
wrksrc=${pkgname}-${version}
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
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ] ; then
distfiles="https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz"
checksum=096f959187b54fd243550702f1a51d0b3f253ca026cb6834066680fab9434dfb
elif [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
distfiles="https://download.anydesk.com/linux/anydesk-${version}-i386.tar.gz"
checksum=ef69ba75040b51b39671bcd7c47bc88820cfe3eee5e40c8081134f0ecb5b5d6e
fi
do_install() {
vinstall icons/hicolor/256x256/apps/anydesk.png 644 /usr/share/pixmaps
vmkdir usr/share/applications
vinstall anydesk.desktop 644 usr/share/applications
vmkdir usr/share/polkit-1/actions
vcopy "polkit-1/*.policy" usr/share/polkit-1/actions
vbin anydesk
vlicense copyright
}