app-misc/fq-bin - 0.17.0 (arrans-overlay)

Search

Package Information

Description:
jq for binary formats - tool, language and decoders for working with binary and text formats
Homepage:
https://github.com/wader/fq
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.17.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# Generated via: https://github.com/arran4/arrans_overlay/blob/main/.github/workflows/app-misc-fq-bin-update.yaml
EAPI=8
DESCRIPTION="jq for binary formats - tool, language and decoders for working with binary and text formats"
HOMEPAGE="https://github.com/wader/fq"
SRC_URI="
  amd64? (  https://github.com/wader/fq/releases/download/v${PV}/fq_${PV}_linux_amd64.tar.gz -> ${P}-fq_${PV}_linux_amd64.tar.gz  )  
  arm64? (  https://github.com/wader/fq/releases/download/v${PV}/fq_${PV}_linux_arm64.tar.gz -> ${P}-fq_${PV}_linux_arm64.tar.gz  )  
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE=""

REQUIRED_USE=""

RDEPEND=""

S="${WORKDIR}"

src_unpack() {
  if use amd64; then
    unpack "${DISTDIR}/${P}-fq_${PV}_linux_amd64.tar.gz" || die "Can't unpack archive file"
  fi
  if use arm64; then
    unpack "${DISTDIR}/${P}-fq_${PV}_linux_arm64.tar.gz" || die "Can't unpack archive file"
  fi
}

src_install() {
  exeinto /opt/bin
  if use amd64; then
    newexe "fq" "fq" || die "Failed to install Binary"
  fi
  if use arm64; then
    newexe "fq" "fq" || die "Failed to install Binary"
  fi
}

Manifest for 0.17.0

Type File Size Source URLs
DIST fq-bin-0.17.0-fq_0.17.0_linux_amd64.tar.gz 4674823 bytes https://github.com/wader/fq/releases/download/v0.17.0/fq_0.17.0_linux_amd64.tar.gz
DIST fq-bin-0.17.0-fq_0.17.0_linux_arm64.tar.gz 4216668 bytes https://github.com/wader/fq/releases/download/v0.17.0/fq_0.17.0_linux_arm64.tar.gz