blob: b8c92f061ccdaeaa236efeeb74f0faabde35b7cf (
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
|
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=dockviz
pkgver=0.6.3
pkgrel=1
pkgdesc="Visualizing Docker Data"
url="https://github.com/justone/dockviz"
arch="all !mips !mips64" # blocked by docker
license="Apache-2.0"
options="!check" # No test suite
depends="docker"
makedepends="go govendor"
source="$pkgname-$pkgver.tar.gz::https://github.com/justone/dockviz/archive/v$pkgver.tar.gz"
builddir="$srcdir/src/github.com/justone/$pkgname"
prepare() {
mkdir -p "$srcdir/src/github.com/justone/"
ln -sf "$srcdir/$pkgname-$pkgver" "$srcdir/src/github.com/justone/$pkgname"
default_prepare
# fetch vendored dependencies
GOPATH="$srcdir" govendor sync
}
build() {
GOPATH="$srcdir" go build -v
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="a9794efece1b6949a704db88318a46665b1c98b3e07684ba157628dd47b1d4255ed7e6eead2fdf82c80c5dfb27820cefb8459340457b67ce6390481e9858134d dockviz-0.6.3.tar.gz"
|