summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStephan Breitrainer2015-06-13 21:17:02 +0200
committerStephan Breitrainer2015-06-13 21:17:02 +0200
commit0d34b916251a12213bd9331683cc36610067582e (patch)
tree9e95800e16d2e83d2c4f6b37e2d913c5e644f10b /PKGBUILD
parenta9c38d1a2cb7fc9cfb94a4698cd6e97208e863ee (diff)
downloadaur-0d34b916251a12213bd9331683cc36610067582e.tar.gz
Switch to multi-arch
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1bb1b10e93ec..18517f8185c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,13 +8,24 @@ pkgdesc="Remote desktop application"
groups=('network')
url="http://www.nomachine.com"
license=('custom:"NoMachine EULA"')
-arch=('x86_64')
+arch=('x86_64' 'i686')
options=('!strip')
conflicts=('nxmanager nxwebplayer nxserver nxnode nxclient')
depends=('bash')
install=nomachine.install
-md5sums=('91d74b46c457249f9d445c9c582fa9ad')
-source=("http://download.nomachine.com/download/4.6/Linux/${pkgname}_${pkgver}_${pkgrel}_${arch}.tar.gz")
+
+case "$CARCH" in
+ x86_64) _pkgarch="x86_64"
+ pkgrel=13
+ sha256sum_x86_64=('9e009ac13007d5063d25c096c4dfe0144e4ec19d8e752fa5dbd0151caf06b48b')
+ source_x86_64=("http://download.nomachine.com/download/4.6/Linux/${pkgname}_${pkgver}_${pkgrel}_${_pkgarch}.tar.gz")
+ ;;
+ i686) _pkgarch="i686"
+ pkgrel=16
+ sha256sum_i686=('40c26640648bdce236e1ec327f66bc1bfdafc33c4216a0c6320567c5aaa88c14')
+ source_i686=("http://download.nomachine.com/download/4.6/Linux/${pkgname}_${pkgver}_${pkgrel}_${_pkgarch}.tar.gz")
+ ;;
+esac
package()
{