xdg-desktop-portal-niri
maintainer pantarune
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
Package builds from source hosted on the maintainer's GitHub, which is normal for AUR packages; the only concerns are low-severity metadata issues (few votes, recent upload) and a skipped checksum, but the source is the project's own and no malicious behavior is evident.
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 90%): Package builds from source hosted on the maintainer's GitHub, which is normal for AUR packages; the only concerns are low-severity metadata issues (few votes, recent upload) and a skipped checksum, but the source is the project's own and no malicious behavior is evident.
PKGBUILD
1
# Maintainer: pantarune <keremmarla44@gmail.com>
2
3
pkgname=xdg-desktop-portal-niri
4
pkgver=0.1.0
5
pkgrel=1
6
pkgdesc="Portal backend for the niri compositor implementing the ScreenCast interface"
7
arch=('x86_64')
8
url="https://github.com/pantarune/xdg-desktop-portal-niri"
9
license=('GPL3')
10
depends=(
11
'xdg-desktop-portal'
12
'pipewire'
13
'zenity'
14
'niri'
15
)
16
optdepends=(
17
'xdg-desktop-portal-gtk: file chooser dialogs'
18
'gnome-keyring: secret portal'
19
)
20
makedepends=('cargo')
21
source=("$pkgname-$pkgver.tar.gz::https://github.com/pantarune/$pkgname/archive/v$pkgver.tar.gz")
22
sha256sums=('SKIP')
23
24
build() {
25
cd "$srcdir/$pkgname-$pkgver"
26
export CARGO_TARGET_DIR="$srcdir/target"
27
cargo build --release --frozen
28
}
29
30
check() {
31
cd "$srcdir/$pkgname-$pkgver"
32
export CARGO_TARGET_DIR="$srcdir/target"
33
cargo test --release --frozen
34
}
35
36
package() {
37
cd "$srcdir/$pkgname-$pkgver"
38
export CARGO_TARGET_DIR="$srcdir/target"
39
40
install -Dm755 "$CARGO_TARGET_DIR/release/$pkgname" "$pkgdir/usr/lib/$pkgname"
41
install -Dm644 data/niri.portal "$pkgdir/usr/share/xdg-desktop-portal/portals/niri.portal"
42
install -Dm644 data/org.freedesktop.impl.portal.desktop.niri.service \
43
"$pkgdir/usr/share/dbus-1/services/org.freedesktop.impl.portal.desktop.niri.service"
44
install -Dm644 data/xdg-desktop-portal-niri.service \
45
"$pkgdir/usr/lib/systemd/user/xdg-desktop-portal-niri.service"
46
}
47
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 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 03:15:42 | LOW | 2 |