blob: c20bf0ecf3420afa23b32229e83c79cfeb921e7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=nomad
pkgver=0.3.0
pkgrel=1
pkgdesc="A Distributed, Highly Available, Datacenter-Aware Scheduler"
arch=('i686' 'x86_64')
url="https://www.nomadproject.io/"
license=('MPL')
depends=('glibc' 'ethtool')
makedepends=('go' 'godep' 'git')
optdepends=(
'docker'
'rkt'
'java-runtime-headless'
)
source=(https://github.com/hashicorp/nomad/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('b5e7520cdd542df14ae35778c066e296c41bb6aba8bf8286956f3005f407c486')
build() {
cd $pkgname-$pkgver
export GOPATH="$srcdir"
godep get || true
godep go build
}
package() {
cd $pkgname-$pkgver
install -Dm755 $pkgname-$pkgver "$pkgdir"/usr/bin/$pkgname
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|