the following is needed today to build this on on aarch64:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ source=("git+https://github.com/morganamilo/paru")
backup=("etc/paru.conf")
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
license=('GPL-3.0-or-later')
-makedepends=('cargo')
+makedepends=('cargo' 'clang')
depends=('git' 'pacman' 'libalpm.so>=14')
optdepends=('bat: colored pkgbuild printing' 'devtools: build in chroot and downloading pkgbuilds')
conflicts=('paru')
@@ -36,6 +36,10 @@ build () {
export CARGO_PROFILE_RELEASE_LTO=off
fi
+ if [[ $CARCH = aarch64 ]]; then
+ _features+="generate,"
+ fi
+
PARU_VERSION=$pkgver cargo build --frozen --features "${_features:-}" --release --target-dir target
./scripts/mkmo locale/
}
Pinned Comments
alex19EP commented on 2021-12-06 17:29 (UTC)
pleas don't flag if it builds.