Package Details: paru-git 2.0.3.rebuild.1.r0.g5355012-1

Git Clone URL: https://aur.archlinux.org/paru-git.git (read-only, click to copy)
Package Base: paru-git
Description: Feature packed AUR helper
Upstream URL: https://github.com/morganamilo/paru
Keywords: AUR helper pacman rust wrapper yay
Licenses: GPL-3.0-or-later
Conflicts: paru
Provides: paru
Submitter: Morganamilo
Maintainer: Morganamilo
Last Packager: Morganamilo
Votes: 49
Popularity: 3.89
First Submitted: 2020-10-19 00:48 (UTC)
Last Updated: 2024-03-26 04:30 (UTC)

Dependencies (6)

Required by (31)

Sources (1)

Pinned Comments

alex19EP commented on 2021-12-06 17:29 (UTC)

pleas don't flag if it builds.

Latest Comments

1 2 Next › Last »

greyltc commented on 2024-09-21 16:01 (UTC)

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/
 }

earlybird commented on 2024-09-05 05:56 (UTC)

We can not build this for now. Can you fix it?

rekman commented on 2024-08-30 22:42 (UTC)

Will fail to build until pacman 7 with alpm 15 is released into mainline repos.

yurzhang commented on 2023-08-22 12:58 (UTC)

I failed to build this package with nightly toolchain, since its dependency proc-macro2 v1.0.50 was enabling the nightly feature that doesn't exist anymore.

It was fixed in proc-macro2 1.0.60+ but paru seemed to depend on an outdated version.

akiirui commented on 2023-08-01 12:52 (UTC)

@MarsSeed You should to know, paru -> pacman -> curl -> openssl

MarsSeed commented on 2023-07-31 16:58 (UTC) (edited on 2023-07-31 17:11 (UTC) by MarsSeed)

Paru can break itself if the paru package does not properly declare its direct dependencies like openssl.

(Actually libcrypto.so and libssl.so would be the best to declare in depends instead of openssl, because that would be the safest and would lead to the least amount of disruption and accidental breakage for users).

MithicSpirit commented on 2022-08-17 22:01 (UTC)

This PKGBUILD currently does not adhere to the Rust package guidelines. Specifically, it is missing

prepare() {
    cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}

If this is added, the --locked flag to cargo build in build() should also be changed to --frozen. Since this is a -git package, it may also be good to run cargo update in prepare() prior to cargo fetch.

There are also many instances of paru throughout the PKGBUILD, which could be replaced with $_pkgname, but this doesn't matter.