mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 20:25:17 +03:00
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=git-bug
|
|
pkgver=0.8.0
|
|
pkgrel=3
|
|
pkgdesc="Distributed, offline-first bug tracker embedded in git, with bridges"
|
|
url="https://github.com/MichaelMure/git-bug"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="go"
|
|
source="
|
|
git-bug-$pkgver.tar.gz::https://github.com/MichaelMure/git-bug/archive/v$pkgver.tar.gz
|
|
Makefile.patch
|
|
"
|
|
|
|
export GIT_COMMIT=v$pkgver
|
|
export GIT_LAST_TAG=v$pkgver
|
|
export GIT_EXACT_TAG=v$pkgver
|
|
|
|
export GOFLAGS="$GOFLAGS -modcacherw"
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 git-bug "$pkgdir"/usr/bin/git-bug
|
|
}
|
|
|
|
sha512sums="
|
|
85456c916f72c0d2764ccd09418d2db91a9aeed48182de12d6aaec7cd021c55ec323822e4aa9347739cfe232ff2287e1bc7adca37ff2574d822b78fc75121d83 git-bug-0.8.0.tar.gz
|
|
fed7c606b146976cf2c3fc4c2849ae81e8f1dd17505863dcf5dcbafd4715a96d3a1984124e27c70b6a6aaf09f22a5b957fdfde7725132c8b775bdf5a6bce0a24 Makefile.patch
|
|
"
|