void-packages/srcpkgs/anydesk/template
2020-09-07 08:45:15 -04:00

31 lines
1.1 KiB
Bash

# Template file for 'anydesk'
pkgname=anydesk
version=6.0.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=b7826dcd379c27f615424d36d9383b8033c0b8c221751cad4ae7d9809f0fe5a4
elif [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
distfiles="https://download.anydesk.com/linux/anydesk-${version}-i386.tar.gz"
checksum=cb22b026e2d81c0de220238fa3d4e13a6d0016787b8c680923794296bbd548e2
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
}