summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMassimiliano Torromeo2018-07-11 13:24:40 +0200
committerMassimiliano Torromeo2018-07-11 13:24:40 +0200
commit63e1669b44e905a42addd4520572917bcd0c1205 (patch)
treec7c39f5465e30b25e99388262b1d28f8da5e76e6 /PKGBUILD
parent9d5579d6791befb11331199fab1e6c1c14a71252 (diff)
downloadaur-63e1669b44e905a42addd4520572917bcd0c1205.tar.gz
Applied go-lxc patches
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d52c16a4cc9..aa2e7af2ca3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=nomad
pkgver=0.8.4
-pkgrel=1
+pkgrel=2
pkgdesc="A Distributed, Highly Available, Datacenter-Aware Scheduler"
arch=('i686' 'x86_64')
url="https://www.nomadproject.io/"
@@ -16,18 +16,23 @@ optdepends=(
)
backup=(etc/nomad/{server,client}.conf)
source=(https://github.com/hashicorp/nomad/archive/v$pkgver/$pkgname-$pkgver.tar.gz
- nomad-{server,client}.{service,conf})
+ nomad-{server,client}.{service,conf}
+ lxc-version-check.patch)
sha256sums=('8dfacd578f2be1ae6cc7af6b2749952f1646344cb95bde17f35eeb78faacd616'
'52b0a22c3c0c72c642a8728cb48bd8797f4f6a12990e11bbb2342edcc2a9a206'
'da475bc4aa3b1493eb62f09e7f99dcc171e8ce6d74df3da30514cfdfe72a5714'
'4c8fb7c18c67ca20e3ee07f25cf2f0c82b66c4c173275ae8d643c91cce3c0ceb'
- 'ba80943ac42e617627c7e14be402078199ddba8d7e4276d67f0c9f6e6842d4a8')
+ 'ba80943ac42e617627c7e14be402078199ddba8d7e4276d67f0c9f6e6842d4a8'
+ '740cf838f4489b00fab8329c81ba21b1fae02e584d8fac2b5f88eeec76e4e62f')
prepare() {
mkdir -p src/github.com/hashicorp
cd src/github.com/hashicorp
rm -rf nomad
mv ../../../$pkgname-$pkgver nomad
+
+ cd nomad/vendor/gopkg.in/lxc/go-lxc.v2
+ patch -p1 -i "$srcdir"/lxc-version-check.patch
}
build() {