mirror of https://github.com/fluxcd/flux2.git
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
| # Maintainer: Aurel Canciu <aurelcanciu@gmail.com>
 | |
| # Maintainer: Hidde Beydals <hello@hidde.co>
 | |
| 
 | |
| pkgname=flux-bin
 | |
| pkgver=${PKGVER}
 | |
| pkgrel=${PKGREL}
 | |
| _srcname=flux
 | |
| _srcver=${VERSION}
 | |
| pkgdesc="Open and extensible continuous delivery solution for Kubernetes"
 | |
| url="https://fluxcd.io/"
 | |
| arch=("x86_64" "armv6h" "armv7h" "aarch64")
 | |
| license=("APACHE")
 | |
| optdepends=('bash-completion: auto-completion for flux in Bash'
 | |
|             'zsh-completions: auto-completion for flux in ZSH')
 | |
| source_x86_64=(
 | |
|   "${pkgname}-${pkgver}.tar.gz::https://github.com/fluxcd/flux2/releases/download/v${_srcver}/flux_${_srcver}_linux_amd64.tar.gz"
 | |
| )
 | |
| source_armv6h=(
 | |
|   "${pkgname}-${pkgver}.tar.gz::https://github.com/fluxcd/flux2/releases/download/v${_srcver}/flux_${_srcver}_linux_arm.tar.gz"
 | |
| )
 | |
| source_armv7h=(
 | |
|   "${pkgname}-${pkgver}.tar.gz::https://github.com/fluxcd/flux2/releases/download/v${_srcver}/flux_${_srcver}_linux_arm.tar.gz"
 | |
| )
 | |
| source_aarch64=(
 | |
|   "${pkgname}-${pkgver}.tar.gz::https://github.com/fluxcd/flux2/releases/download/v${_srcver}/flux_${_srcver}_linux_arm64.tar.gz"
 | |
| )
 | |
| sha256sums_x86_64=(
 | |
|   ${SHA256SUM_AMD64}
 | |
| )
 | |
| sha256sums_armv6h=(
 | |
|   ${SHA256SUM_ARM}
 | |
| )
 | |
| sha256sums_armv7h=(
 | |
|   ${SHA256SUM_ARM}
 | |
| )
 | |
| sha256sums_aarch64=(
 | |
|   ${SHA256SUM_ARM64}
 | |
| )
 | |
| 
 | |
| package() {
 | |
| 	install -Dm755 ${_srcname} "${pkgdir}/usr/bin/${_srcname}"
 | |
| 
 | |
|     "${pkgdir}/usr/bin/${_srcname}" completion bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/${_srcname}"
 | |
|     "${pkgdir}/usr/bin/${_srcname}" completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/${_srcname}.fish"
 | |
|     "${pkgdir}/usr/bin/${_srcname}" completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_${_srcname}"
 | |
| }
 |