1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/git-bug/APKBUILD
2022-05-12 02:01:31 +02:00

37 lines
986 B
Text

# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=git-bug
pkgver=0.7.2
pkgrel=2
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"
build() {
make
}
check() {
make test
}
package() {
install -Dm755 git-bug "$pkgdir"/usr/bin/git-bug
}
sha512sums="
85dac95e09dc0946afafc8bcec303b1bcaac36081bb8c8057e767c57a488496c2e6971b7fcf257903a6021da54f946a7475a72e999e142645f29f7e228570ab2 git-bug-0.7.2.tar.gz
fed7c606b146976cf2c3fc4c2849ae81e8f1dd17505863dcf5dcbafd4715a96d3a1984124e27c70b6a6aaf09f22a5b957fdfde7725132c8b775bdf5a6bce0a24 Makefile.patch
"