2019-04-11 12:39:26 +02:00
|
|
|
# Template file for 'anydesk'
|
|
|
|
pkgname=anydesk
|
2019-09-01 22:23:19 +02:00
|
|
|
version=5.1.2
|
2019-04-11 12:39:26 +02:00
|
|
|
revision=1
|
|
|
|
archs="i686 x86_64"
|
|
|
|
wrksrc=${pkgname}-${version}
|
|
|
|
short_desc="Fast remote desktop application"
|
|
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
2019-04-28 19:13:25 +02:00
|
|
|
license="custom:Proprietary"
|
2019-04-11 12:39:26 +02:00
|
|
|
#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"
|
2019-09-01 22:23:19 +02:00
|
|
|
checksum=02d98ca58dfa053d5dc59fb198992a3066ebd66b9faff8948421d233b5e03d56
|
2019-04-11 12:39:26 +02:00
|
|
|
elif [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
|
2019-09-01 22:23:19 +02:00
|
|
|
distfiles="https://download.anydesk.com/linux/anydesk-${version}-i386.tar.gz"
|
|
|
|
checksum=6ca826ead232e9bd54fb445524ab5efee5df7edd84fc90cd30567b54376950bf
|
2019-04-11 12:39:26 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
do_install() {
|
2019-06-19 19:49:08 +02:00
|
|
|
vinstall icons/hicolor/256x256/apps/anydesk.png 644 /usr/share/pixmaps
|
2019-04-11 12:39:26 +02:00
|
|
|
vmkdir usr/share/applications
|
2019-06-19 19:49:08 +02:00
|
|
|
vinstall anydesk.desktop 644 usr/share/applications
|
2019-04-11 12:39:26 +02:00
|
|
|
vmkdir usr/share/polkit-1/actions
|
|
|
|
vcopy "polkit-1/*.policy" usr/share/polkit-1/actions
|
|
|
|
vbin anydesk
|
|
|
|
vlicense copyright
|
|
|
|
}
|