mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
app-admin/mayday: Migrate versioned ebuild away from git eclass
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
acdfcdbc8a
commit
34e8715599
1
sdk_container/src/third_party/coreos-overlay/app-admin/mayday/Manifest
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/app-admin/mayday/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
||||
DIST mayday-ae784704884e85de795a56752a9a10f1ff13be15.tar.gz 1887053 BLAKE2B b64ca02ab64eb3dd15b40d3dc160aa29a13ff84afa2580e84d21802576c8b8d8099158aee832e302f163e1a7ad9e4df2de22fffb8f7c6ea8e2e8683b8ebec573 SHA512 cd3818b08bde1d854128bcdb97dc92a4857f24968212d17a3bd2f43191433dfea4ee1658d2575eb9be92525a55952e3e25a7841a11ab657621b8bc45d3581fd6
|
||||
@ -1,33 +1,33 @@
|
||||
# Copyright (c) 2015 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EGIT_REPO_URI="https://github.com/flatcar/mayday.git"
|
||||
COREOS_GO_PACKAGE="github.com/flatcar/mayday"
|
||||
inherit coreos-go git-r3
|
||||
EAPI=8
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
COREOS_GO_PACKAGE="github.com/flatcar/mayday"
|
||||
inherit coreos-go
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/flatcar/mayday.git"
|
||||
inherit git-r3
|
||||
else
|
||||
EGIT_COMMIT="8b9adcf261d13d395659ed839b3ba0af52bd117a" # main
|
||||
KEYWORDS="amd64 arm64"
|
||||
EGIT_VERSION="ae784704884e85de795a56752a9a10f1ff13be15" # main
|
||||
SRC_URI="https://github.com/flatcar/mayday/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${EGIT_VERSION}"
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="mayday"
|
||||
DESCRIPTION="Tool to simplify gathering support information"
|
||||
HOMEPAGE="https://github.com/flatcar/mayday"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
COREOS_GO_MOD=vendor go_build "${COREOS_GO_PACKAGE}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${GOBIN}/mayday mayday
|
||||
dobin "${GOBIN}"/mayday
|
||||
insinto /usr/share/mayday
|
||||
doins "${S}/default.json"
|
||||
doins default.json
|
||||
}
|
||||
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">flatcar/mayday</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user