summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2018-09-27 18:34:28 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2018-09-27 18:34:53 -0700
commit340d13df37bd97c9c291255a965de213b2850508 (patch)
tree2ba156f05f297483fd6ae63dbcbc26e3c5216012 /dev-util/shellcheck-bin
parentapp-misc/tmux: Version bump to 2.8 (diff)
downloadgentoo-340d13df37bd97c9c291255a965de213b2850508.tar.gz
gentoo-340d13df37bd97c9c291255a965de213b2850508.tar.bz2
gentoo-340d13df37bd97c9c291255a965de213b2850508.zip
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 <gyakovlev@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'dev-util/shellcheck-bin')
-rw-r--r--dev-util/shellcheck-bin/Manifest1
-rw-r--r--dev-util/shellcheck-bin/metadata.xml15
-rw-r--r--dev-util/shellcheck-bin/shellcheck-bin-0.5.0.ebuild25
3 files changed, 41 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+ <longdescription lang="en">
+ ShellCheck is tool that gives warnings and suggestions
+ for bash/sh shell scripts
+ </longdescription>
+ <upstream>
+ <remote-id type="github">koalaman/shellcheck</remote-id>
+ </upstream>
+</pkgmetadata>
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
+}