void-packages/srcpkgs/anydesk/template

33 lines
1.1 KiB
Bash
Raw Normal View History

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