aboutsummaryrefslogblamecommitdiffstats
path: root/community/dockviz/APKBUILD
blob: 2df04e73dcb8abf7b94331b77b995110e7459f6e (plain) (tree)
1
2
3
4
5
6
7
8
9



                                   
        

                                        
          
                    
                                            
                




                                                                                           
 
           

                       


                                                 


         
                                       





                                                              


                                                                                                                                                                  
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=dockviz
pkgver=0.6.3
pkgrel=5
pkgdesc="Visualizing Docker Data"
url="https://github.com/justone/dockviz"
arch="all"
license="Apache-2.0"
options="chmod-clean !check" # No test suite
depends="docker"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/justone/dockviz/archive/v$pkgver.tar.gz
	go.mod
	go.sum
	"

prepare() {
	default_prepare

	# Convert to go modules
	cp -r "$srcdir"/go.mod "$srcdir/go.sum" .
	rm -r vendor
}

build() {
	GOPATH="$srcdir/go" go build -v
}

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

sha512sums="a9794efece1b6949a704db88318a46665b1c98b3e07684ba157628dd47b1d4255ed7e6eead2fdf82c80c5dfb27820cefb8459340457b67ce6390481e9858134d  dockviz-0.6.3.tar.gz
4085940e76b1d1d78bf4f4ff7f414c41ea58a3691a972af1ba0be24313c4430f43d537cf9a1e0809961be5c6644a10b590723489ceafbb6aa11de53c8ce2d2bb  go.mod
fa6abf44715150d75b764bb93ea1715c0163725b41261adb8eef4a207ee4702aa83d4e2437fa69d1c482b3ec5750067e227e17523a840ac16f2c583b583faf97  go.sum"