# Generated via: https://github.com/arran4/arrans_overlay/blob/main/.github/workflows/app-admin-arrans-overlay-workflow-builder-bin-update.yaml
EAPI=8
DESCRIPTION="TODO"
HOMEPAGE=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=" doc"
REQUIRED_USE=""
DEPEND=""
RDEPEND="sys-libs/glibc "
S="${WORKDIR}"


SRC_URI="
  amd64? (  https://github.com/arran4/arrans_overlay_workflow_builder/releases/download/v0.1.17/arrans_overlay_workflow_builder_${PV}_linux_amd64.tar.gz -> ${P}-arrans_overlay_workflow_builder_${PV}_linux_amd64.tar.gz  )  
"

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

src_install() {
  exeinto /opt/bin
  if use amd64; then
    newexe "overlay_workflow_builder_generator" "overlay_workflow_builder_generator" || die "Failed to install Binary"
  fi
  if use doc; then
    newdoc "readme.md" "readme.md" || die "Failed to install document readme.md"
  fi
}