Skip to content

Add aarch64 support (#305)#306

Merged
Azd325 merged 1 commit into
masterfrom
feat/aarch64-support
Jun 11, 2026
Merged

Add aarch64 support (#305)#306
Azd325 merged 1 commit into
masterfrom
feat/aarch64-support

Conversation

@Azd325

@Azd325 Azd325 commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Closes #305.

Upstream GitKraken ships Linux ARM64 binaries, so this packages both architectures.

Changes

  • PKGBUILD: arch=(x86_64 aarch64) with per-arch source_* / sha256sums_* arrays. package() is unchanged — both tarballs extract to gitkraken/, so install logic is identical. ARM64 URL: .../linux/arm64/${pkgver}/gitkraken-aarch64.tar.gz (path is arm64, filename is aarch64).
  • update.sh: hash the aarch64 tarball directly, since updpkgsums only refreshes the build host architecture on the x86_64 update runner.
  • CI: new matrix job verifying each architecture's source URL, checksum, and tarball layout (gitkraken/gitkraken + gitkraken.png).
  • .SRCINFO regenerated via makepkg --printsrcinfo; README notes the cross-arch checksum caveat.

Verification (in an Arch container)

  • ✅ Both arch sources download, checksums match, tarball layout correct (the exact CI logic)
  • ✅ Full makepkg build of the x86_64 package — package() produces /opt/gitkraken/gitkraken, the launcher, desktop file, and icon
  • .SRCINFO regenerated from the new PKGBUILD; shellcheck update.sh clean

Note

The existing arch-pkgbuild-builder validation action uses an amd64-only image, so a real aarch64 makepkg build cannot run in CI (and we only repackage a prebuilt binary — no compilation). The source-verification matrix job covers the actual risk: wrong URL, bad checksum, or changed tarball layout.

Upstream GitKraken ships Linux ARM64 binaries, so package both arches.

- PKGBUILD: arch=(x86_64 aarch64) with per-arch source_*/sha256sums_*
  arrays; package() is unchanged since both tarballs extract to gitkraken/
- update.sh: hash the aarch64 tarball directly, since updpkgsums only
  refreshes the build host's architecture on an x86_64 runner
- CI: add a matrix job verifying each arch's source URL, checksum, and
  tarball layout (gitkraken/gitkraken + gitkraken.png)
- .SRCINFO regenerated; README notes the cross-arch checksum caveat
@Azd325
Azd325 merged commit 6c83ddb into master Jun 11, 2026
24 checks passed
@Azd325
Azd325 deleted the feat/aarch64-support branch June 11, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aarch64 support

1 participant