mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-util/shellcheck-bin: adjust ebuild style
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,28 +1,27 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN=${PN/-bin/}
|
||||
BASE_URI="https://github.com/koalaman/${MY_PN}/releases/download/v${PV}/${MY_PN}-v${PV}.linux"
|
||||
SC_P=${PN%-bin}-v${PV}
|
||||
SC_URI="https://github.com/koalaman/shellcheck/releases/download/v${PV}/${SC_P}.linux"
|
||||
|
||||
DESCRIPTION="Shell script analysis tool (binary package)"
|
||||
HOMEPAGE="https://www.shellcheck.net/"
|
||||
SRC_URI="
|
||||
amd64? ( "${BASE_URI}".x86_64.tar.xz )
|
||||
arm? ( "${BASE_URI}".armv6hf.tar.xz )
|
||||
arm64? ( "${BASE_URI}".aarch64.tar.xz )
|
||||
amd64? ( ${SC_URI}.x86_64.tar.xz )
|
||||
arm64? ( ${SC_URI}.aarch64.tar.xz )
|
||||
arm? ( ${SC_URI}.armv6hf.tar.xz )
|
||||
"
|
||||
S=${WORKDIR}/${SC_P}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 ~arm arm64"
|
||||
|
||||
DEPEND="!dev-util/shellcheck"
|
||||
RDEPEND="${DEPEND}"
|
||||
RDEPEND="!dev-util/shellcheck"
|
||||
|
||||
QA_PREBUILT="/usr/bin/shellcheck"
|
||||
S="${WORKDIR}/${MY_PN}-v${PV}"
|
||||
QA_PREBUILT="usr/bin/shellcheck"
|
||||
|
||||
src_install() {
|
||||
dobin shellcheck
|
||||
|
||||
Reference in New Issue
Block a user