void-packages/srcpkgs/anydesk/template

34 lines
1.1 KiB
Bash
Raw Normal View History

2019-04-11 12:39:26 +02:00
# Template file for 'anydesk'
pkgname=anydesk
2019-06-11 21:34:12 +02:00
version=5.1.0
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-06-11 21:34:12 +02:00
checksum=edf0b040c00d90c370d4d53ab2bb0dd4f2257050bcf6d665fc3f7f2c243fae7e
2019-04-11 12:39:26 +02:00
elif [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then
distfiles="https://download.anydesk.com/linux/anydesk-${version}-i686.tar.gz"
2019-06-11 21:34:12 +02:00
checksum=6aff74caf96481fc6488ee4f951b61f17577d703b759488f698640bcd24ac63e
2019-04-11 12:39:26 +02: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
}