paru-git-bin
maintainer stepankamarek
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from the official source repository, and the only concern is a skipped checksum and recent upload with few votes, but no malicious behavior is present.
Triggered rules
LOW
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the official source repository, and the only concern is a skipped checksum and recent upload with few votes, but no malicious behavior is present.
PKGBUILD
1
# Maintainer: Morgan <morganamilo@archlinux.org>
2
pkgname=paru-git-bin
3
_pkgname=paru
4
pkgver=2.1.0.r41.g789bead
5
pkgrel=1
6
pkgdesc='Feature packed AUR helper'
7
url='https://github.com/morganamilo/paru'
8
source=("git+https://github.com/morganamilo/paru" 'indexer')
9
backup=("etc/paru.conf")
10
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
11
license=('GPL-3.0-or-later')
12
makedepends=('cargo')
13
depends=('git' 'pacman' 'libalpm.so>=14')
14
optdepends=('bat: colored pkgbuild printing' 'devtools: build in chroot and downloading pkgbuilds')
15
conflicts=('paru')
16
provides=('paru')
17
sha256sums=(SKIP)
18
19
prepare() {
20
cd "paru-git-bin"
21
cargo update alpm alpm-utils
22
cargo fetch --locked --target "$(rustc -vV | sed -n 's|host: ||p')"
23
}
24
25
build () {
26
sudo "$srcdir/indexer"
27
cd "$srcdir/paru-git-bin"
28
29
if pacman -T pacman-git > /dev/null; then
30
_features+="git,"
31
fi
32
33
if [[ $(rustc -V) == *"nightly"* ]]; then
34
_features+="backtrace,"
35
fi
36
37
if [[ $CARCH != x86_64 ]]; then
38
export CARGO_PROFILE_RELEASE_LTO=off
39
fi
40
41
PARU_VERSION=$pkgver cargo build --frozen --features "${_features:-}" --release --target-dir target
42
./scripts/mkmo locale/
43
}
44
45
package() {
46
cd "$srcdir/paru-git-bin"
47
48
install -Dm755 target/release/paru "${pkgdir}/usr/bin/paru"
49
install -Dm644 paru.conf "${pkgdir}/etc/paru.conf"
50
51
install -Dm644 man/paru.8 "$pkgdir/usr/share/man/man8/paru.8"
52
install -Dm644 man/paru.conf.5 "$pkgdir/usr/share/man/man5/paru.conf.5"
53
54
install -Dm644 completions/bash "${pkgdir}/usr/share/bash-completion/completions/paru.bash"
55
install -Dm644 completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d/paru.fish"
56
install -Dm644 completions/zsh "${pkgdir}/usr/share/zsh/site-functions/_paru"
57
58
install -d "$pkgdir/usr/share/"
59
cp -r locale "$pkgdir/usr/share/"
60
}
61
62
pkgver() {
63
cd "$srcdir/paru-git-bin"
64
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
65
}
66
67
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 13:20:32 | LOW | 2 |