void-packages/srcpkgs/anydesk/template
2019-10-25 20:17:46 +02:00

31 lines
1.1 KiB
Bash

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