aboutsummaryrefslogblamecommitdiffstats
path: root/testing/dive/APKBUILD
blob: 73771f165866874d90f0428f96b2ce168c16723c (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                     
             
        

                                                         

                         



















                                                                               
                                                                                                                                                                 
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=dive
pkgver=0.10.0
pkgrel=2
pkgdesc='Tool for exploring each layer in a docker image'
url='https://github.com/wagoodman/dive'
# mips(64): go is missing
arch='all !mips !mips64'
license='MIT'
depends='docker'
makedepends='go'
source="https://github.com/wagoodman/dive/archive/v$pkgver/dive-$pkgver.tar.gz"
options='chmod-clean !check' # No test suite

build() {
	go build \
		-trimpath \
		-ldflags "
			-s -w
			-X main.version=$pkgver
			" \
		-o bin/dive .
}

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

sha512sums="a027d6f694acdc7680a733df2800e255db93df450704e748778860ac16a19040be855c04238c18d63b10b2042023cf3bf5e8ac9974362decd81dc0259fd0dd1c  dive-0.10.0.tar.gz"