-
-
Save razielgn/0bfc34c6ec9b37caea2ed38fbb152ec2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 4e2f3be..111830d 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -5,10 +5,21 @@ pkgname=argo-bin | |
pkgver=3.2.6 | |
pkgrel=1 | |
pkgdesc="Argo Workflows: Get stuff done with Kubernetes" | |
-arch=('x86_64') | |
+arch=('x86_64' 'aarch64') | |
url="https://github.com/argoproj/argo-workflows" | |
license=('Apache') | |
-source=("argo_$pkgver.gz::https://github.com/argoproj/argo-workflows/releases/download/v$pkgver/argo-linux-amd64.gz") | |
+source_x86_64=("argo_$pkgver.gz::${url}/releases/download/v${pkgver}/argo-linux-amd64.gz") | |
+source_aarch64=("argo_$pkgver.gz::${url}/releases/download/v${pkgver}/argo-linux-arm64.gz") | |
+sha256sums_x86_64=('d30ed9692fcf45b363039e3a9e7dbd6ba84a4a99bb72026ec0da27b9aebc611a') | |
+sha256sums_aarch64=('c1818f3619a344b952e5fb37dc3e3e0f0a0cca7b83622489f83622ab3c58d2d7') | |
+ | |
+build() { | |
+ chmod +x "argo_$pkgver" | |
+} | |
+ | |
+check() { | |
+ ./"argo_$pkgver" version | |
+} | |
package() { | |
install -Dm755 "argo_$pkgver" "$pkgdir/usr/bin/argo" | |
@@ -17,5 +28,3 @@ package() { | |
install -Dm644 argo.zsh "$pkgdir/usr/share/zsh/site-functions/_argo" | |
install -Dm644 argo.bash "$pkgdir/usr/share/bash-completion/completions/argo" | |
} | |
- | |
-md5sums=('925d5ab66eb8d2173fa3402d1b44917c') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment