Skip to content

Instantly share code, notes, and snippets.

@jichu4n
Created February 17, 2020 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jichu4n/535876118f9935ad658e3113c745caec to your computer and use it in GitHub Desktop.
Save jichu4n/535876118f9935ad658e3113c745caec to your computer and use it in GitHub Desktop.
AUR nomachine aarch64 patch
diff --git a/.SRCINFO b/.SRCINFO
index 7d1215f..c1e3e08 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,7 @@ pkgbase = nomachine
arch = armv6h
arch = armv7h
arch = armv8h
+ arch = aarch64
groups = network
license = custom:"NoMachine EULA"
depends = bash
@@ -31,5 +32,7 @@ pkgbase = nomachine
sha512sums_armv7h = ed4979fb9111d1ba448beca3d0c407378ef6df50b7dac924f87bb2b9ffd26c8cbe75125b65e53fc21b85cf0f70e89857e20f74ad20657142d2adea77a2b0266a
source_armv8h = http://download.nomachine.com/download/6.9/Raspberry/nomachine_6.9.2_1_aarch64.tar.gz
sha512sums_armv8h = c36ab5ea5f51809b303d3d9bf440ada961d029a2188a7806649c2d326859620b863c23d5691d4cb1375f458b7ef5bf859c23537766870c557a2f397ccaf43e0d
+ source_aarch64 = http://download.nomachine.com/download/6.9/Raspberry/nomachine_6.9.2_1_aarch64.tar.gz
+ sha512sums_aarch64 = c36ab5ea5f51809b303d3d9bf440ada961d029a2188a7806649c2d326859620b863c23d5691d4cb1375f458b7ef5bf859c23537766870c557a2f397ccaf43e0d
pkgname = nomachine
diff --git a/PKGBUILD b/PKGBUILD
index d81161b..4802924 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,12 +17,13 @@ _pkgrel_x86_64=1
_pkgrel_armv6h=1
_pkgrel_armv7h=3
_pkgrel_armv8h=1
+_pkgrel_aarch64=${_pkgrel_armv8h}
pkgrel=1
pkgdesc="Remote desktop application"
groups=('network')
url="http://www.nomachine.com"
license=('custom:"NoMachine EULA"')
-arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'armv8h')
+arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'armv8h' 'aarch64')
options=('!strip')
conflicts=('nxmanager' 'nxwebplayer' 'nxserver' 'nxnode' 'nxclient')
depends=('bash' 'openssh' 'nawk')
@@ -32,11 +33,13 @@ sha512sums_i686=('5300349693013274812069d45689642cf0418df75607feb7540b9db01c64a7
sha512sums_armv6h=('6fcaf13e47502928b02e1293f9831518197e920f95521d0caf5528e236321df30f9a8ea5dab639dfa0e4c465311295ce4d30e9348fb376da20940ee64f1e9fe0')
sha512sums_armv7h=('ed4979fb9111d1ba448beca3d0c407378ef6df50b7dac924f87bb2b9ffd26c8cbe75125b65e53fc21b85cf0f70e89857e20f74ad20657142d2adea77a2b0266a')
sha512sums_armv8h=('c36ab5ea5f51809b303d3d9bf440ada961d029a2188a7806649c2d326859620b863c23d5691d4cb1375f458b7ef5bf859c23537766870c557a2f397ccaf43e0d')
+sha512sums_aarch64=("${sha512sums_armv8h[@]}")
source_x86_64=("http://download.nomachine.com/download/6.9/Linux/${pkgname}_${pkgver}_${_pkgrel_x86_64}_x86_64.tar.gz")
source_i686=("http://download.nomachine.com/download/6.9/Linux/${pkgname}_${pkgver}_${_pkgrel_i686}_i686.tar.gz")
source_armv6h=("http://download.nomachine.com/download/6.9/Raspberry/${pkgname}_${pkgver}_${_pkgrel_armv6h}_armv6hl.tar.gz")
source_armv7h=("http://download.nomachine.com/download/6.9/Raspberry/${pkgname}_${pkgver}_${_pkgrel_armv7h}_armv7hl.tar.gz")
source_armv8h=("http://download.nomachine.com/download/6.9/Raspberry/${pkgname}_${pkgver}_${_pkgrel_armv8h}_aarch64.tar.gz")
+source_aarch64=("${source_armv8h[@]}")
install=nomachine.install
prepare()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment