aboutsummaryrefslogtreecommitdiff
blob: 59eaad47d53a79173c35f1e94465efad1b885448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
EAPI="8"

inherit go-module

DESCRIPTION="A task runner / simpler Make alternative written in Go"
HOMEPAGE="https://taskfile.dev"
SRC_URI="https://github.com/${PN}/task/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://samip537.kapsi.fi/gentoo-mirror/go-task-${PV}-vendor.tar.xz"
S="${WORKDIR}/task-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"

src_compile() {
 ego build github.com/go-task/task/v3/cmd/task
}

src_install() {
 dobin task

 default
}