mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
dev-util/git-bug: new package, add 0.7.1, 9999
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
This commit is contained in:
35
dev-util/git-bug/git-bug-9999.ebuild
Normal file
35
dev-util/git-bug/git-bug-9999.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="distributed, offline-first bug tracker"
|
||||
HOMEPAGE="https://github.com/MichaelMure/git-bug"
|
||||
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/MichaelMure/${PN}"
|
||||
|
||||
RESTRICT="network-sandbox"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
go generate
|
||||
go build \
|
||||
-ldflags "-s -w -X github.com/MichealMure/git-bug/commands.GitLastTag=${PV} -X github.com/MichealMure/git-bug/commands.GitExactTag=${PV}" \
|
||||
-o ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user