xca-rs

LOW
maintainer RinWate 0 votes scanned 2026-09-18 21:28:57.026605
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

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.

PKGBUILD

1# Maintainer: Denis "RinWate" Egorov <rinwate@yandex.ru>
2# AUR PKGBUILD: builds xca-rs from the tagged tarball of the standalone repo.
3# Before the first upload: run `updpkgsums` (pacman-contrib) to fill in the
4# checksum, build-test with `makepkg -si`, then refresh .SRCINFO.
5
6pkgname=xca-rs
7pkgver=0.1.0
8pkgrel=1
9pkgdesc="XCA (X Certificate and Key Management) rewritten in Rust with GTK4 and libadwaita"
10arch=('x86_64')
11url="https://github.com/RinWate/xca-rs"
12license=('GPL-2.0-or-later')
13depends=('gtk4' 'libadwaita' 'openssl' 'glib2' 'glibc')
14makedepends=('rust' 'gcc' 'pkgconf')
15source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
16sha256sums=('09acf1caa58a2ced7641cb67ef9e351af135875b7f5c42dd38ec7bb233380b2f')
17options=(!lto)
18
19# GitHub tag tarballs extract into "<canonical-repo-name>-<version>/".
20# The repo's canonical name on GitHub is "XCA-RS" (github.com/RinWate/xca-rs
21# redirects there), so this must keep the repo name's exact case.
22_srcrel="XCA-RS-$pkgver"
23
24prepare() {
25 cargo fetch --locked --manifest-path "$_srcrel/Cargo.toml"
26}
27
28build() {
29 cd "$_srcrel"
30 export CARGO_TARGET_DIR="$srcdir/target"
31 cargo build --frozen --release
32}
33
34check() {
35 cd "$_srcrel"
36 cargo test --frozen --release
37}
38
39package() {
40 cd "$_srcrel"
41 install -Dm755 "$srcdir/target/release/xca-rs" -t "$pkgdir/usr/bin"
42 install -Dm644 packaging/org.xca.rs.desktop -t "$pkgdir/usr/share/applications"
43 install -Dm644 packaging/org.xca.rs.svg -t "$pkgdir/usr/share/icons/hicolor/scalable/apps"
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-09-18 21:28:57 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion