Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app-misc/yq3-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIST yq3-bin-3.4.1-linux-amd64 6076668 BLAKE2B bafe04ae9d9737e59c203b14092ff9346687665b52d2a73c677aaff42b1ecf8cf7dcb678016567d6b73000fa9bc4a1c7b996646b9fec621a26ba22d996f9d524 SHA512 52f574341975ee7c6181c50f4e694269d0fd8165915601af0f28a93b1b964c116defa0613a68cdb90b1ddec7b55094625c31da2fd264083166f7fa2edc86a47d
DIST yq3-bin-3.4.1-linux-arm 5370351 BLAKE2B 7cfe5fb36825f0d0c617e201140dd7255038101355318221804d29301f98ddc75e65f5c79fff45803b5a928ffd9c3a00909f3147a7053a17f96b770c77d5e41b SHA512 d7383a8739d24aeeafaf33bd2e3abfc64b8be3d71b322c2e7257cfe8cd8bbd2cff33d0c7159f2740a90ebe06c6e6e8132fbbf3defa14becab102ceccaaf387f2
DIST yq3-bin-3.4.1-linux-arm64 5827542 BLAKE2B ad5621f78178f3fb5d83a599d465e829621df609f0092c2920797cbf2464e3692f2d9b7edd631fa3c077aa433295aded06014d589a89e2baf65fc7a7b14ea6ca SHA512 a1ce96971a919dd8fa5e73b23e4976afc19fd2973e9957bc4336f3a14996477a5bd104d7d0b06c72e9299bad6a1452da6ac05a611e7adf713a40f847fe37b892
32 changes: 32 additions & 0 deletions app-misc/yq3-bin/yq3-bin-3.4.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
QA_PREBUILT="/usr/bin/yq"

DESCRIPTION="Portable command-line YAML, JSON, XML, CSV, TOML and properties processor"
HOMEPAGE="https://github.com/mikefarah/yq/"
SRC_URI="
amd64? ( https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_amd64 -> yq3-bin-3.4.1-linux-amd64 )
arm? ( https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_arm -> yq3-bin-3.4.1-linux-arm )
arm64? ( https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_arm64 -> yq3-bin-3.4.1-linux-arm64 )"
SLOT="0"
KEYWORDS="*"
IUSE="amd64 arm arm64"
S="${WORKDIR}"
src_prepare() {
if use amd64; then
cp "${DISTDIR}"/yq3-bin-3.4.1-linux-amd64 yq || die
elif use arm64; then
cp "${DISTDIR}"/yq3-bin-3.4.1-linux-arm64 yq || die
else
cp "${DISTDIR}"/yq3-bin-3.4.1-linux-arm yq || die
fi
eapply_user
}
src_install() {
dobin yq
}


# vim: filetype=ebuild
Loading