31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'anydesk'
|
|
pkgname=anydesk
|
|
version=5.5.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=fac7a9d689fcab3b745c19864b28fa3846a65627d85afbafd7dede2eed4f8f35
|
|
elif [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
|
|
distfiles="https://download.anydesk.com/linux/anydesk-${version}-i386.tar.gz"
|
|
checksum=efd89afa01ef91d12ddfa9e515f014f5c3511d6b97c9e44f60caab29f1d67b11
|
|
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
|
|
}
|