summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Grossar2024-11-22 17:49:14 +0100
committerLukas Grossar2024-11-22 17:49:14 +0100
commitb5312174501e94f14e1c58f37fdee21bb7c8de6c (patch)
treea2ff691ca2507eab20e1655b4b4399f37e0cc034
parente36ed941426e9e2dc843450fa40092a3fb4d8f3a (diff)
downloadaur-jsonnet-bundler-bin.tar.gz
chore: add support for aarch64
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD14
2 files changed, 15 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4a802b528527..492eb34158fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,14 @@
pkgbase = jsonnet-bundler-bin
pkgdesc = jsonnet package manager
pkgver = 0.6.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jsonnet-bundler/jsonnet-bundler
arch = x86_64
- license = Apache
- source = jb-v0.6.0::https://github.com/jsonnet-bundler/jsonnet-bundler/releases/download/v0.6.0/jb-linux-amd64
- sha256sums = 78e54afbbc3ff3e0942b1576b4992277df4f6beb64cddd58528a76f0cd70db54
+ arch = aarch64
+ license = Apache-2.0
+ source_x86_64 = jb-v0.6.0-x86_64::https://github.com/jsonnet-bundler/jsonnet-bundler/releases/download/v0.6.0/jb-linux-amd64
+ sha256sums_x86_64 = 78e54afbbc3ff3e0942b1576b4992277df4f6beb64cddd58528a76f0cd70db54
+ source_aarch64 = jb-v0.6.0-aarch64::https://github.com/jsonnet-bundler/jsonnet-bundler/releases/download/v0.6.0/jb-linux-arm64
+ sha256sums_aarch64 = 19f2da64816137cd87a82dd963c752ff4b7c8701fc1ed7b979c356321dcf3f5a
pkgname = jsonnet-bundler-bin
diff --git a/PKGBUILD b/PKGBUILD
index 0e9f5a918555..4d4058bf21af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,16 @@
pkgname=jsonnet-bundler-bin
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="jsonnet package manager"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
url="https://github.com/jsonnet-bundler/jsonnet-bundler"
-license=('Apache')
-source=("jb-v${pkgver}::https://github.com/jsonnet-bundler/jsonnet-bundler/releases/download/v${pkgver}/jb-linux-amd64")
-sha256sums=('78e54afbbc3ff3e0942b1576b4992277df4f6beb64cddd58528a76f0cd70db54')
+license=('Apache-2.0')
+source_x86_64=("jb-v${pkgver}-x86_64::https://github.com/jsonnet-bundler/jsonnet-bundler/releases/download/v${pkgver}/jb-linux-amd64")
+source_aarch64=("jb-v${pkgver}-aarch64::https://github.com/jsonnet-bundler/jsonnet-bundler/releases/download/v${pkgver}/jb-linux-arm64")
+sha256sums_x86_64=('78e54afbbc3ff3e0942b1576b4992277df4f6beb64cddd58528a76f0cd70db54')
+sha256sums_aarch64=('19f2da64816137cd87a82dd963c752ff4b7c8701fc1ed7b979c356321dcf3f5a')
package() {
- install -Dm 755 "${srcdir}/jb-v${pkgver}" "${pkgdir}/usr/bin/jb"
+ install -Dm 755 "${srcdir}/jb-v${pkgver}-${CARCH}" "${pkgdir}/usr/bin/jb"
}