varn
LOW
maintainer Dominiquini
1 votes
scanned 2026-09-02 05:49:42.050072
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}
6
pkgname=${_appname}
7
pkgdesc="Local state checkpointing and rollback system for AI agents and automated tools"
8
9
pkgver=0.3.0
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('x86_64')
14
_barch=('linux-x86_64')
15
16
_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17
_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18
url=${_ghurl}
19
20
license=('MIT' 'Apache-2.0')
21
22
provides=("${_appname}")
23
24
depends=('glibc' 'libgcc')
25
26
options=('!lto' '!strip')
27
28
source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
29
sha256sums=('11dc8cbc1888a30dbebd2d23dab19e9bdfd2c71a19fc2a778daa92d162488466')
30
31
32
prepare() {
33
cd "${pkgname}-${pkgver}" || exit
34
35
cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
36
}
37
38
build() {
39
cd "${pkgname}-${pkgver}" || exit
40
41
export CARGO_TARGET_DIR=target
42
cargo build --frozen --release
43
}
44
45
check() {
46
cd "${pkgname}-${pkgver}" || exit
47
48
export CARGO_TARGET_DIR=target
49
cargo test --frozen --release
50
}
51
52
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-02 05:49:42 | Low | 1 |