app-admin/chezmoi-bin - 2.70.0 (arrans-overlay)

Search

Package Information

Description:
Manage your dotfiles across multiple diverse machines, securely.
Homepage:
https://www.chezmoi.io/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.70.0 8 ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~x86 0
View Raw Ebuild
# Generated via: https://github.com/arran4/arrans_overlay/blob/main/.github/workflows/app-admin-chezmoi-bin-update.yaml
EAPI=8
DESCRIPTION="Manage your dotfiles across multiple diverse machines, securely."
HOMEPAGE="https://www.chezmoi.io/"
SRC_URI="
  amd64? ( glibc? ( !loong64? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux-glibc_amd64.tar.gz -> ${P}-chezmoi_${PV}_linux-glibc_amd64.tar.gz  )  )  )  
  amd64? ( !glibc? ( !loong64? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux-musl_amd64.tar.gz -> ${P}-chezmoi_${PV}_linux-musl_amd64.tar.gz  )  )  )  
  amd64? ( loong64? ( !glibc? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux_loong64.tar.gz -> ${P}-chezmoi_${PV}_linux_loong64.tar.gz  )  )  )  
  arm? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux_arm.tar.gz -> ${P}-chezmoi_${PV}_linux_arm.tar.gz  )  
  arm64? ( android? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_android_arm64.tar.gz -> ${P}-chezmoi_${PV}_android_arm64.tar.gz  )  )  
  arm64? ( !android? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux_arm64.tar.gz -> ${P}-chezmoi_${PV}_linux_arm64.tar.gz  )  )  
  ppc64? ( !le? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux_ppc64.tar.gz -> ${P}-chezmoi_${PV}_linux_ppc64.tar.gz  )  )  
  ppc64? ( le? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux_ppc64le.tar.gz -> ${P}-chezmoi_${PV}_linux_ppc64le.tar.gz  )  )  
  riscv? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux_riscv64.tar.gz -> ${P}-chezmoi_${PV}_linux_riscv64.tar.gz  )  
  s390? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux_s390x.tar.gz -> ${P}-chezmoi_${PV}_linux_s390x.tar.gz  )  
  x86? (  https://github.com/twpayne/chezmoi/releases/download/v${PV}/chezmoi_${PV}_linux_i386.tar.gz -> ${P}-chezmoi_${PV}_linux_i386.tar.gz  )  
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~x86"
IUSE=" android glibc le loong64"

REQUIRED_USE="android? ( || ( arm64  ) ) glibc? ( || ( amd64  ) ) le? ( || ( ppc64  ) ) loong64? ( || ( amd64  ) ) "

RDEPEND=""

S="${WORKDIR}"

src_unpack() {
  if use amd64 && use glibc && ! use loong64 ; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux-glibc_amd64.tar.gz" || die "Can't unpack archive file"
  fi
  if use amd64 && ! use glibc  && ! use loong64 ; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux-musl_amd64.tar.gz" || die "Can't unpack archive file"
  fi
  if use amd64 && use loong64 && ! use glibc ; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux_loong64.tar.gz" || die "Can't unpack archive file"
  fi
  if use arm; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux_arm.tar.gz" || die "Can't unpack archive file"
  fi
  if use arm64 && use android; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_android_arm64.tar.gz" || die "Can't unpack archive file"
  fi
  if use arm64 && ! use android ; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux_arm64.tar.gz" || die "Can't unpack archive file"
  fi
  if use ppc64 && ! use le ; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux_ppc64.tar.gz" || die "Can't unpack archive file"
  fi
  if use ppc64 && use le; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux_ppc64le.tar.gz" || die "Can't unpack archive file"
  fi
  if use riscv; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux_riscv64.tar.gz" || die "Can't unpack archive file"
  fi
  if use s390; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux_s390x.tar.gz" || die "Can't unpack archive file"
  fi
  if use x86; then
    unpack "${DISTDIR}/${P}-chezmoi_${PV}_linux_i386.tar.gz" || die "Can't unpack archive file"
  fi
}

src_install() {
  exeinto /opt/bin
  if use arm64 && use android; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use amd64 && ! use glibc  && ! use loong64 ; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use arm; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use arm64 && ! use android ; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use ppc64 && ! use le ; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use riscv; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use s390; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use x86; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use amd64 && use glibc && ! use loong64 ; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use ppc64 && use le; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
  if use amd64 && use loong64 && ! use glibc ; then
    newexe "chezmoi" "chezmoi" || die "Failed to install Binary"
  fi
}

USE Flags

le

Manifest for 2.70.0

Type File Size Source URLs
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_android_arm64.tar.gz 12948183 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_android_arm64.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux-glibc_amd64.tar.gz 13627819 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux-glibc_amd64.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux-musl_amd64.tar.gz 13676244 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux-musl_amd64.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux_arm.tar.gz 12835363 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux_arm.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux_arm64.tar.gz 12236619 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux_arm64.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux_i386.tar.gz 12901108 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux_i386.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux_loong64.tar.gz 12908989 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux_loong64.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux_ppc64.tar.gz 12265756 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux_ppc64.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux_ppc64le.tar.gz 12261175 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux_ppc64le.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux_riscv64.tar.gz 12718276 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux_riscv64.tar.gz
DIST chezmoi-bin-2.70.0-chezmoi_2.70.0_linux_s390x.tar.gz 13068253 bytes https://github.com/twpayne/chezmoi/releases/download/v2.70.0/chezmoi_2.70.0_linux_s390x.tar.gz