summaryrefslogtreecommitdiff
blob: 4baa06a089d0b7637da63b65c266b3bbd1485bc3 (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 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Automated Component Toolkit code generator"
HOMEPAGE="https://github.com/Autodesk/AutomaticComponentToolkit"
SRC_URI="https://github.com/Autodesk/AutomaticComponentToolkit/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/AutomaticComponentToolkit-${PV}"

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

RESTRICT="strip test"

BDEPEND="dev-lang/go"

QA_FLAGS_IGNORED="usr/bin/act"

src_compile() {
	cd Source || die
	go build -x -o ../${PN} *.go || die
}

src_install() {
	dobin ${PN}
	einstalldocs
	dodoc -r Documentation/.
}