void-packages/srcpkgs/anydesk/template
2019-06-20 10:28:53 +02:00

32 lines
1.1 KiB
Bash

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