Skip to content

Commit

Permalink
Squashed
Browse files Browse the repository at this point in the history
  • Loading branch information
MechDR committed Dec 14, 2023
1 parent e83268d commit 071f0c2
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions srcpkgs/anydesk/template
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
# Template file for 'anydesk'
pkgname=anydesk
version=6.2.1
version=6.3.0
revision=1
archs="x86_64"
archs="x86_64 armv7l armv7hf"
create_wrksrc=yes
hostmakedepends="patchelf"
depends="hicolor-icon-theme gtkglext"
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
#Free for personal use. Terms and conditions: https://anydesk.com/en/terms
homepage="https://anydesk.com/remote-desktop"
nopie=yes
restricted=yes

distfiles="https://download.anydesk.com/linux/anydesk_${version}-1_x86_64.rpm
https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz"
checksum="68f8395a0c84f2560ffa425497fbf9846a61bb2dbc4b1010a8ffca7856514ab2
96a7ded2144ecdaff381c34e49eee3275caaaac00847e91abf5e7783706c989c"

case "${XBPS_TARGET_MACHINE}" in
x86_64)
distfiles="https://download.anydesk.com/linux/anydesk_${version}-1_amd64.deb"
checksum="30f6e44cea28428d1cb645055fae72cf166f63318e0c94f2c12d18a3614ce30c"
;;
armv7*)
distfiles="https://download.anydesk.com/rpi/anydesk_${version}-1_armhf.deb"
checksum="10a8f442877d65458c800da2a4c772532c178a675c55604cca66156a5c812e1a"
;;
esac

do_build() {
patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk
}

do_install() {
vlicense "${pkgname}-${version}"/copyright
rm -rf "${pkgname}-${version}"
vcopy "*" /
echo "See: https://anydesk.com/en/terms" > LICENSE

Check failure on line 33 in srcpkgs/anydesk/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

please indent with tabs
vlicense LICENSE
vcopy usr /
}

0 comments on commit 071f0c2

Please sign in to comment.