void-packages/srcpkgs/anydesk/template

36 lines
1.1 KiB
Bash
Raw Normal View History

2019-04-11 10:39:26 +00:00
# Template file for 'anydesk'
pkgname=anydesk
2019-04-28 17:13:25 +00:00
version=5.0.0
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-04-28 17:13:25 +00:00
checksum=3c1c694ea990d7bbc1bd10ec60502cb6801d042bbbaee82ca0f6d8f114869ca1
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-04-28 17:13:25 +00:00
checksum=97905b6d678a0289cc4ea387525648d2b125363f979bb7de63d8af6f21037463
2019-04-11 10:39:26 +00:00
fi
do_install() {
vmkdir usr/share/icons/anydesk
vcopy "icons/*" usr/share/icons/anydesk
vmkdir usr/share/applications
vinstall anydesk.desktop 0644 usr/share/applications
vmkdir usr/share/polkit-1/actions
vcopy "polkit-1/*.policy" usr/share/polkit-1/actions
vbin anydesk
vlicense copyright
vdoc changelog
vdoc README
}