From: Georgy Yakovlev Date: Fri, 28 Sep 2018 01:34:28 +0000 (-0700) Subject: dev-util/shellcheck-bin: add binary shellcheck X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=340d13df37bd97c9c291255a965de213b2850508;p=gentoo.git dev-util/shellcheck-bin: add binary shellcheck Upstream provides statically build tarballs Someone who is forced to install full ghc just to use shellcheck might find it useful Signed-off-by: Georgy Yakovlev Package-Manager: Portage-2.3.50, Repoman-2.3.11 --- diff --git a/dev-util/shellcheck-bin/Manifest b/dev-util/shellcheck-bin/Manifest new file mode 100644 index 000000000000..7b41931c63f2 --- /dev/null +++ b/dev-util/shellcheck-bin/Manifest @@ -0,0 +1 @@ +DIST shellcheck-v0.5.0.linux.x86_64.tar.xz 3231336 BLAKE2B 5d94ed2e61fd363f645259eac94905cc4eed839b523c4392dd6a775f466e85a2164036c34cf0e1d993a43486fbbe0c7e64df2943d0748bee6e7bb25a5e3d0500 SHA512 475e14bf2705ad4a16d405fa64b94c2eb151a914d5a165ce13e8f9344e6145893f685a650cd32d45a7ab236dedf55f76b31db82e2ef76ad6175a87dd89109790 diff --git a/dev-util/shellcheck-bin/metadata.xml b/dev-util/shellcheck-bin/metadata.xml new file mode 100644 index 000000000000..32d8737e309e --- /dev/null +++ b/dev-util/shellcheck-bin/metadata.xml @@ -0,0 +1,15 @@ + + + + + gyakovlev@gentoo.org + Georgy Yakovlev + + + ShellCheck is tool that gives warnings and suggestions + for bash/sh shell scripts + + + koalaman/shellcheck + + diff --git a/dev-util/shellcheck-bin/shellcheck-bin-0.5.0.ebuild b/dev-util/shellcheck-bin/shellcheck-bin-0.5.0.ebuild new file mode 100644 index 000000000000..633eb0107655 --- /dev/null +++ b/dev-util/shellcheck-bin/shellcheck-bin-0.5.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=${PN/-bin/} + +DESCRIPTION="Shell script analysis tool (binary package)" +HOMEPAGE="https://www.shellcheck.net/" +SRC_URI="https://storage.googleapis.com/${MY_PN}/${MY_PN}-v${PV}.linux.x86_64.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="!dev-util/shellcheck" +RDEPEND="${DEPEND}" + +QA_PREBUILT="/usr/bin/shellcheck" +S="${WORKDIR}/${MY_PN}-v${PV}" + +src_install() { + dobin shellcheck + einstalldocs +}