aboutsummaryrefslogtreecommitdiffstats
path: root/testing/goreman/APKBUILD
blob: 9fe920a58850373c00943dba90f161422bc1e397 (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
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=goreman
pkgver=0.3.13
pkgrel=6
pkgdesc="Tool to manage Procfile-based applications"
url="https://github.com/mattn/goreman"
arch="all"
license="MIT"
makedepends="go"
source="https://github.com/mattn/goreman/archive/v$pkgver/goreman-$pkgver.tar.gz"
options="!check" # No test suite

export GOFLAGS="$GOFLAGS -modcacherw -trimpath"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"

build() {
	go build -o bin/goreman .
}

package() {
	install -Dm755 bin/goreman "$pkgdir"/usr/bin/goreman
}

sha512sums="
a062e464f2fa4443bf19040a6264c1bd6105744c240addc938d3c85f538efe67fcee6b648c9958cad9aa2ed89b277e5e3c3a4d66867aa1c734b5185d45fcb979  goreman-0.3.13.tar.gz
"