summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-06-12 19:02:14 +0300
committerDimitris Kiziridis2020-06-12 19:02:14 +0300
commitefcaed7ee0be62df796650da8b2c2b401c6b8103 (patch)
treef0e5049ceb917303daedde72caede54ea23090aa
parent8b2ea05966f265e8f50c54f6c2af10c2c9e55f97 (diff)
downloadaur-efcaed7ee0be62df796650da8b2c2b401c6b8103.tar.gz
Add support for i686, armv7h and aarch64
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 27 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a3e3c4843d..c077bf42f93 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,12 @@
pkgbase = nomad-bin
pkgdesc = A distributed, highly available, datacenter-aware scheduler
pkgver = 0.11.3
- pkgrel = 1
+ pkgrel = 2
url = https://nomadproject.io
arch = x86_64
+ arch = i686
+ arch = armv7h
+ arch = aarch64
license = MPL2
depends = glibc
optdepends = docker: Enables docker driver
@@ -14,16 +17,22 @@ pkgbase = nomad-bin
conflicts = nomad
backup = etc/nomad/server.conf
backup = etc/nomad/client.conf
- source = nomad-bin-0.11.3.zip::https://releases.hashicorp.com/nomad/0.11.3/nomad_0.11.3_linux_amd64.zip
source = nomad-server.service
source = nomad-client.hcl
source = nomad-client.service
source = nomad-server.hcl
- sha256sums = f6a38099e27e8ff1dd7e1fe7215c954ebe4986d05ed6320739186ff3502bb78a
sha256sums = 85b6938ba13b450f8b7b9ca281178eea57a9409948b9e70b69d6a66a4dbdaa7b
sha256sums = c3650a0f88cb6c511731e26f25dddfe531de3cb833fa1780ec68273faef97c97
sha256sums = 1ddf845cfbb2beff7162bd7299705338cf1611fc9f7dfe6a093e4c9cce43e0d2
sha256sums = 428c929e205e6ed4da1668534f413fb7e9484ab88c26f8f866d49f8f6ae207e8
+ source_x86_64 = nomad-bin-0.11.3.zip::https://releases.hashicorp.com/nomad/0.11.3/nomad_0.11.3_linux_amd64.zip
+ sha256sums_x86_64 = f6a38099e27e8ff1dd7e1fe7215c954ebe4986d05ed6320739186ff3502bb78a
+ source_i686 = nomad-bin-0.11.3.zip::https://releases.hashicorp.com/nomad/0.11.3/nomad_0.11.3_linux_386.zip
+ sha256sums_i686 = 01f336d97aaec463fda0a25af6dd73292f590a85a672725cf9f582697c370815
+ source_armv7h = nomad-bin-0.11.3.zip::https://releases.hashicorp.com/nomad/0.11.3/nomad_0.11.3_linux_arm.zip
+ sha256sums_armv7h = a1d89b4b3d756080d8e2980bd5722ba72d19100c330cfcf7a5378dcddf0863ba
+ source_aarch64 = nomad-bin-0.11.3.zip::https://releases.hashicorp.com/nomad/0.11.3/nomad_0.11.3_linux_arm64.zip
+ sha256sums_aarch64 = 2bbb92183188683fd8b3deaa9048d533094c8e4d2cd5a15e244a32de2b661b52
pkgname = nomad-bin
diff --git a/PKGBUILD b/PKGBUILD
index 72beb2998d5..64bbc659c9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=nomad-bin
pkgver=0.11.3
-pkgrel=1
+pkgrel=2
pkgdesc='A distributed, highly available, datacenter-aware scheduler'
-arch=('x86_64')
+arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://nomadproject.io"
license=('MPL2')
optdepends=('docker: Enables docker driver'
@@ -17,16 +17,22 @@ provides=('nomad')
conflicts=('nomad')
depends=('glibc')
backup=(etc/nomad/{server,client}.conf)
-source=("${pkgname}-${pkgver}.zip::https://releases.hashicorp.com/nomad/${pkgver}/nomad_${pkgver}_linux_amd64.zip"
- 'nomad-server.service'
+source_x86_64=("${pkgname}-${pkgver}.zip::https://releases.hashicorp.com/nomad/${pkgver}/nomad_${pkgver}_linux_amd64.zip")
+source_i686=("${pkgname}-${pkgver}.zip::https://releases.hashicorp.com/nomad/${pkgver}/nomad_${pkgver}_linux_386.zip")
+source_armv7h=("${pkgname}-${pkgver}.zip::https://releases.hashicorp.com/nomad/${pkgver}/nomad_${pkgver}_linux_arm.zip")
+source_aarch64=("${pkgname}-${pkgver}.zip::https://releases.hashicorp.com/nomad/${pkgver}/nomad_${pkgver}_linux_arm64.zip")
+source=('nomad-server.service'
'nomad-client.hcl'
'nomad-client.service'
'nomad-server.hcl')
-sha256sums=('f6a38099e27e8ff1dd7e1fe7215c954ebe4986d05ed6320739186ff3502bb78a'
- '85b6938ba13b450f8b7b9ca281178eea57a9409948b9e70b69d6a66a4dbdaa7b'
- 'c3650a0f88cb6c511731e26f25dddfe531de3cb833fa1780ec68273faef97c97'
- '1ddf845cfbb2beff7162bd7299705338cf1611fc9f7dfe6a093e4c9cce43e0d2'
- '428c929e205e6ed4da1668534f413fb7e9484ab88c26f8f866d49f8f6ae207e8')
+sha256sums_x86_64=('f6a38099e27e8ff1dd7e1fe7215c954ebe4986d05ed6320739186ff3502bb78a')
+sha256sums_i686=('01f336d97aaec463fda0a25af6dd73292f590a85a672725cf9f582697c370815')
+sha256sums_armv7h=('a1d89b4b3d756080d8e2980bd5722ba72d19100c330cfcf7a5378dcddf0863ba')
+sha256sums_aarch64=('2bbb92183188683fd8b3deaa9048d533094c8e4d2cd5a15e244a32de2b661b52')
+sha256sums=('85b6938ba13b450f8b7b9ca281178eea57a9409948b9e70b69d6a66a4dbdaa7b'
+ 'c3650a0f88cb6c511731e26f25dddfe531de3cb833fa1780ec68273faef97c97'
+ '1ddf845cfbb2beff7162bd7299705338cf1611fc9f7dfe6a093e4c9cce43e0d2'
+ '428c929e205e6ed4da1668534f413fb7e9484ab88c26f8f866d49f8f6ae207e8')
package() {
install -Dm0755 nomad "${pkgdir}/usr/bin/nomad"