mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-29 20:42:24 +01:00
31 lines
802 B
Plaintext
31 lines
802 B
Plaintext
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=dive
|
|
pkgver=0.10.0
|
|
pkgrel=1
|
|
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"
|