blob: c20365fed0df427985fbcb06ea4457419f743269 (
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
31
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit go-module
DESCRIPTION="linter for .gitlab-ci.yml files"
HOMEPAGE="https://gitlab.com/orobardet/gitlab-ci-linter"
SRC_URI="https://gitlab.com/orobardet/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
RESTRICT="test"
S="${WORKDIR}/${PN}-v${PV}"
PATCHES=(
"${FILESDIR}"/${PN}-no-strip.patch
)
src_compile() {
unset LDFLAGS
emake
}
src_install() {
dobin .build/gitlab-ci-linter
dodoc -r CHANGELOG.md doc README.md
}
|