blob: f76edcbe84521370a7e9b06339722f00c3b20c56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Thomas Deutsch <thomas@tuxpeople.org>
# Maintainer: Thomas Deutsch <thomas@tuxpeople.org>
pkgname=lazydocker
pkgver=0.20.0
pkgrel=4
pkgdesc="Simple terminal UI for both docker and docker-compose"
url="https://github.com/jesseduffield/lazydocker"
arch="all"
license="MIT"
makedepends="go"
options="chmod-clean"
source="$pkgname-$pkgver.tar.gz::https://github.com/jesseduffield/lazydocker/archive/v$pkgver.tar.gz"
options="!check" # fails on unwriteable home/.config on builders
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build
}
check() {
go test ./...
}
package() {
install -Dm755 $pkgname "$pkgdir"/usr/bin/lazydocker
}
sha512sums="
c161a2b8e1dfa48ce29df0ed4388dd9aa0784ddb2fe5e9ecfd1deae2e50c5b616438ef587f979b8aa549ccf3f76a1414c1a29226d1cf1289024edbce691cec51 lazydocker-0.20.0.tar.gz
"
|