# Maintainer: Aurel Canciu # Maintainer: Hidde Beydals pkgname=flux-bin pkgver=${PKGVER} pkgrel=${PKGREL} pkgdesc="Open and extensible continuous delivery solution for Kubernetes" url="https://fluxcd.io/" arch=("x86_64" "armv6h" "armv7h" "aarch64") license=("APACHE") optdepends=("kubectl") source_x86_64=( "$pkgname-$pkgver.tar.gz::https://github.com/fluxcd/flux2/releases/download/v${pkgver}/flux_${pkgver}_linux_amd64.tar.gz" ) source_armv6h=( "$pkgname-$pkgver.tar.gz::https://github.com/fluxcd/flux2/releases/download/v${pkgver}/flux_${pkgver}_linux_arm.tar.gz" ) source_armv7h=( "$pkgname-$pkgver.tar.gz::https://github.com/fluxcd/flux2/releases/download/v${pkgver}/flux_${pkgver}_linux_arm.tar.gz" ) source_aarch64=( "$pkgname-$pkgver.tar.gz::https://github.com/fluxcd/flux2/releases/download/v${pkgver}/flux_${pkgver}_linux_arm64.tar.gz" ) sha256sums_x86_64=( ${SHA256SUM_AMD64} ) sha256sums_armv6h=( ${SHA256SUM_ARM} ) sha256sums_armv7h=( ${SHA256SUM_ARM} ) sha256sums_aarch64=( ${SHA256SUM_ARM64} ) package() { install -Dm755 flux "$pkgdir/usr/bin/flux" }