summaryrefslogtreecommitdiff
path: root/app-admin/overmind/overmind-2.4.0.ebuild
blob: dd390c0aa3f1d40671173745946efa5ba5173567 (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
28
29
30
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Process manager for Procfile-based applications and tmux"
HOMEPAGE="https://github.com/DarthSim/overmind"
SRC_URI="
	https://github.com/DarthSim/overmind/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/ixti/overmind/releases/download/v${PV}/${P}-deps.tar.xz
"

LICENSE="MIT BSD BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	app-misc/tmux
"

src_compile() {
	go build -ldflags "-s -w" || die "go build failed"
}

src_install() {
	dobin "${PN}"
	dodoc README.md
}