summaryrefslogtreecommitdiff
path: root/net-analyzer/opsgenie-lamp/opsgenie-lamp-3.1.4.ebuild
blob: 5f53acd66c722a0a328c5002835b9e6cb0169e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="command line client for the opsgenie service"
HOMEPAGE="https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie"
SRC_URI="https://github.com/opsgenie/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

# yes, CHANEGLOG.md is a typo in the source
DOCS=( CHANEGLOG.md README.md )

src_compile() {
	ego build -mod=vendor
}

src_install() {
	newbin ${PN} lamp
	dodoc conf/lamp.conf
	einstalldocs
}