1.2 KiB
1.2 KiB
1Password Beta - aarch64 Support
Overview
post-sync.sh adds aarch64 (ARM64) support to the AUR 1password-beta PKGBUILD after each sync.
This is implemented as a dynamic sync hook instead of a static patch because the aarch64 checksums include the current upstream version and need to be refreshed whenever AUR updates _tarver.
Background
1Password officially provides ARM64 builds for Linux:
- https://downloads.1password.com/linux/tar/beta/aarch64/
- https://downloads.1password.com/linux/tar/stable/aarch64/
The AUR PKGBUILD only supports x86_64.
Changes Made
- Adds aarch64 to the arch array:
arch=('x86_64' 'aarch64') - Uses architecture-specific source arrays:
- x86_64:
.x64.tar.gz - aarch64:
.arm64.tar.gz
- x86_64:
- Keeps the AUR x86_64 checksums
- Downloads and calculates current aarch64 checksums during sync
- Uses
${_archdir}for source directory names instead of hardcoded.x64 - Omarchy sync drops AUR-only
.SRCINFOafter rewriting the PKGBUILD
Testing
bin/sync-aur 1password-beta
bin/repo build --arch aarch64 --package 1password-beta
The aarch64 build should download from:
https://downloads.1password.com/linux/tar/beta/aarch64/1password-<version>.arm64.tar.gz