varn

LOW
maintainer Dominiquini 1 votes scanned 2026-09-02 05:49:42.050072
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_gitauthor=flawme
4_gitname=varn
5_appname=${_gitname}
6pkgname=${_appname}
7pkgdesc="Local state checkpointing and rollback system for AI agents and automated tools"
8
9pkgver=0.3.0
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('x86_64')
14_barch=('linux-x86_64')
15
16_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18url=${_ghurl}
19
20license=('MIT' 'Apache-2.0')
21
22provides=("${_appname}")
23
24depends=('glibc' 'libgcc')
25
26options=('!lto' '!strip')
27
28source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
29sha256sums=('11dc8cbc1888a30dbebd2d23dab19e9bdfd2c71a19fc2a778daa92d162488466')
30
31
32prepare() {
33 cd "${pkgname}-${pkgver}" || exit
34
35 cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
36}
37
38build() {
39 cd "${pkgname}-${pkgver}" || exit
40
41 export CARGO_TARGET_DIR=target
42 cargo build --frozen --release
43}
44
45check() {
46 cd "${pkgname}-${pkgver}" || exit
47
48 export CARGO_TARGET_DIR=target
49 cargo test --frozen --release
50}
51
52package() {
53 cd "${pkgname}-${pkgver}" || exit
54
55 install -Dm755 "target/release/${_appname}" "${pkgdir}/usr/bin/${_appname}"
56
57 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
58 install -Dm644 "docs/usage.md" "${pkgdir}/usr/share/doc/${pkgname}/USAGE.md"
59 install -Dm644 "docs/safety.md" "${pkgdir}/usr/share/doc/${pkgname}/SAFETY.md"
60 install -Dm644 "docs/architecture.md" "${pkgdir}/usr/share/doc/${pkgname}/ARCHITECTURE.md"
61
62 install -Dm644 "LICENSE-MIT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
63 install -Dm644 "LICENSE-APACHE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE--APACHE"
64}
65

Scan history

Scanned at (UTC)SeverityRules
2026-09-02 05:49:42 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