text: # Contributor: Thomas Deutsch <thomas@tuxpeople.org>
  # Maintainer: Thomas Deutsch <thomas@tuxpeople.org>
  pkgname=lazydocker
  pkgver=0.9.1
  pkgrel=0
  pkgdesc="Simple terminal UI for both docker and docker-compose"
  url="https://github.com/jesseduffield/lazydocker"
  arch="all !mips !mips64" # limited by go
  license="MIT"
  makedepends="go"
  options="chmod-clean !check" # checks failing, reported upstream: https://github.com/jesseduffield/lazydocker/issues/236
  source="$pkgname-$pkgver.tar.gz::https://github.com/jesseduffield/lazydocker/archive/v$pkgver.tar.gz"
  
  build() {
  	GOPATH="$srcdir" go build
  }
  
  check() {
  	GOPATH="$srcdir" go test ./...
  }
  
  package() {
  	install -Dm755 $pkgname "$pkgdir"/usr/bin/lazydocker
  }
  
  
  sha512sums="12bb2a4656123904760592a9baacbcfd25a9b5018e55cc8723c3c05bae205887ec4717370d62bf7804a397c83c80d6ca3cef9271cdbf84ce0f724add90d70251  lazydocker-0.9.1.tar.gz"
  