diff --git a/app-misc/jq-bin/Manifest b/app-misc/jq-bin/Manifest new file mode 100644 index 0000000000..b432b2a3ff --- /dev/null +++ b/app-misc/jq-bin/Manifest @@ -0,0 +1,3 @@ +DIST jq-bin-1.8.1-linux-amd64 2255816 BLAKE2B c32dd48176ba212705d91fad8783f1300bc50fe70f1fd59956d2c0202bed874482fe18cf32f360e40faf2a1def39c4ede67471314decb710da97a8aa163528ad SHA512 4fe084094351a27947fcad3f3fd9ce3e1a87adb9c12b623f3b12647a81d93918d058b296411a07022805641f855a4f68fa7f092e112c29058cb93bd8c67928c8 +DIST jq-bin-1.8.1-linux-arm64 1797872 BLAKE2B 8ef4ed5017061b45149f24a36ede216d98164777e11ff9b852d34443ff7105788b285c8c3c3c15ef5a73b431938f8220f6f608b60b1fcae2fc1e42372147691c SHA512 b1cdef9b4165362ba17f66b3b59e0dcc3c6d96be66768f66cef2aa7224e06b50c6cdf40ce4d63272ed5ec2d4a8392ab28e5a154ecdfa5b27f6c521868342e57a +DIST jq-bin-1.8.1-linux-armhf 1331968 BLAKE2B b9ca0d3818613a7781945a8de75032efff3878e5a2b80cf7beff359a7c814b2c3ad6557412479d5f154c9565608cc57c3bd47b727ddacf4bcf2ed5e4e5822907 SHA512 2110905920a663b411fe0b453852169d5efe897fc059f8c8fba193fa67c515e0b2abf3f780c84c8409c51780bc79c76a94791c08c4e60bc62d33878c99137428 diff --git a/app-misc/jq-bin/jq-bin-1.8.1.ebuild b/app-misc/jq-bin/jq-bin-1.8.1.ebuild new file mode 100644 index 0000000000..566a7155cf --- /dev/null +++ b/app-misc/jq-bin/jq-bin-1.8.1.ebuild @@ -0,0 +1,37 @@ +# Distributed under the terms of the GNU General Public License v2 +# Autogen by MARK Devkit + +EAPI=7 +QA_PREBUILT="/usr/bin/jq" + +DESCRIPTION="A lightweight and flexible command-line JSON processor" +HOMEPAGE="https://stedolan.github.io/jq/" +SRC_URI=" +amd64? ( https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-amd64 -> jq-bin-1.8.1-linux-amd64 ) +arm? ( https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-armhf -> jq-bin-1.8.1-linux-armhf ) +arm64? ( https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-arm64 -> jq-bin-1.8.1-linux-arm64 )" +SLOT="0" +KEYWORDS="*" +IUSE="amd64 arm arm64" +RDEPEND="!app-misc/jq + +" +DEPEND="${RDEPEND} +" +S="${WORKDIR}" +src_prepare() { + if use amd64; then + cp "${DISTDIR}"/${P}-linux-amd64 jq || die + elif use arm64; then + cp "${DISTDIR}"/${P}-linux-arm64 jq || die + else + cp "${DISTDIR}"/${P}-linux-armhf jq || die + fi + eapply_user +} +src_install() { + dobin "${WORKDIR}"/jq +} + + +# vim: filetype=ebuild