blob: bed35a6c95921533caab50cd0ecbe8c09cc76837 (
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
|
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=judo
pkgver=0.5
pkgrel=2
pkgdesc="Simple orchestration & configuration management"
url="https://github.com/rollcat/judo"
license="MIT"
arch="all"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/rollcat/judo/archive/refs/tags/$pkgver.tar.gz"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
export GOCACHE="$srcdir/go-cache"
export GOTMPDIR="$srcdir"
export GOMODCACHE="$srcdir/go"
build() {
go build -v .
}
check() {
go test -v ./...
}
package() {
install -Dm0755 "$pkgname" -t "$pkgdir"/usr/bin
}
sha512sums="
d984535d38d480c988b469b319e77692b7815be7cbfe649f69cba4c66fc979e157c32c98f06f16d7c1e0a9d532ce6d082981de454eec90f77f254328e73bde27 judo-0.5.tar.gz
"
|