mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-30 13:02:27 +01:00
28 lines
845 B
Plaintext
28 lines
845 B
Plaintext
# Contributor: Thomas Deutsch <thomas@tuxpeople.org>
|
|
# Maintainer: Thomas Deutsch <thomas@tuxpeople.org>
|
|
pkgname=lazygit
|
|
pkgver=0.22.9
|
|
pkgrel=0
|
|
pkgdesc="Simple terminal UI for git commands"
|
|
url="https://github.com/jesseduffield/lazygit"
|
|
arch="all !mips !mips64" # limited by go
|
|
license="MIT"
|
|
makedepends="go"
|
|
options="chmod-clean !check" # checks failing, reported upstream: https://github.com/jesseduffield/lazygit/issues/1009
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/jesseduffield/lazygit/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
GOPATH="$srcdir" go build
|
|
}
|
|
|
|
check() {
|
|
GOPATH="$srcdir" go test ./...
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 $pkgname "$pkgdir"/usr/bin/lazygit
|
|
}
|
|
|
|
|
|
sha512sums="9d4dc92762099c141e56bbb386217ea2028ba6a78d6bb5d54ef9c022e447a1b9fa2ce37d6e2813411fe6fa4f5192753beec8b136838aefe067019fd0820225e1 lazygit-0.22.9.tar.gz"
|