# Contributor: TBK # Maintainer: TBK pkgname=dockviz pkgver=0.6.3 pkgrel=0 pkgdesc="Visualizing Docker Data" url="https://github.com/justone/dockviz" arch="all" 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"