# Maintainer: zxp19821005 # Contributor: Paul Nicholson pkgname=yor-bin pkgver=0.1.188 pkgrel=1 pkgdesc="Extensible auto-tagger for your IaC files. The ultimate way to link entities in the cloud back to the codified resource which created it." arch=( 'armv7h' 'aarch64' 'i686' 'x86_64' ) url="https://www.yor.io/" _ghurl="https://github.com/bridgecrewio/yor" license=('Apache') provides=("${pkgname%-bin}=${pkgver}") conflicts=("${pkgname%-bin}") depends=( 'glibc' ) source_armv7h=("${pkgname%-bin}-${pkgver}-armv7h.tar.gz::${_ghurl}/releases/download/${pkgver}/${pkgname%-bin}_${pkgver}_linux_armv7.tar.gz") source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.tar.gz::${_ghurl}/releases/download/${pkgver}/${pkgname%-bin}_${pkgver}_linux_arm64.tar.gz") source_i686=("${pkgname%-bin}-${pkgver}-i686.tar.gz::${_ghurl}/releases/download/${pkgver}/${pkgname%-bin}_${pkgver}_linux_386.tar.gz") source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.tar.gz::${_ghurl}/releases/download/${pkgver}/${pkgname%-bin}_${pkgver}_linux_amd64.tar.gz") sha256sums_armv7h=('d82259b507d153764e53a712cbee3872d038793152c8fe57c11a556fdf2ee0b3') sha256sums_aarch64=('0ab84d9db4cbe95097021c2ac389970111f025e3785201aad12433fee4d873c8') sha256sums_i686=('8051f4fc8cd275211bc7922fd07bb31c55e3072e5b56cfca738261b640ec4a66') sha256sums_x86_64=('19ecd5abf27afbb00fe2601558a82aeaa6c875ae49cec24f2dca44fd245f9a1d') package() { install -Dm755 "${srcdir}/${pkgname%-bin}" -t "${pkgdir}/usr/bin" install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" }