blob: 43902ef46b05aabe7edbdef83b648ae381f55a6b (
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
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Daniel Bodky <dbodky at gmail dot com>
pkgname=acorn-cli
pkgver="v0.10.1"
pkgrel=1
epoch=
pkgdesc="A simple application deployment framework for Kubernetes"
arch=('x86_64')
url="https://acorn.io/"
license=('Apache')
groups=()
depends=()
makedepends=('git' 'go')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("acorn-$pkgver::git+https://github.com/acorn-io/runtime#tag=$pkgver")
noextract=()
sha256sums=("SKIP")
validpgpkeys=()
build() {
cd "acorn-$pkgver"
export CGO_ENABLED=0
go build -o bin/acorn -ldflags "-s -w -X 'github.com/acorn-io/runtime/pkg/version.Tag=$pkgver'"
}
check() {
cd "acorn-$pkgver"
./bin/acorn version
}
package() {
cd "acorn-$pkgver"
install -Dm755 bin/acorn "$pkgdir"/usr/bin/acorn
}
|