hashline
LOW
maintainer mdrv
0 votes
scanned 2026-09-06 05:10:24.165680
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: Umar Alfarouk <medrivia@gmail.com>
2
3
pkgname=hashline
4
pkgver=0.9.16
5
pkgrel=1
6
pkgdesc="Hash-anchored line editing for AI coding agents — O(1) line addressing via content-hashed anchors and drift-safe surgical patches"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/quangdang46/hashline"
9
license=('MIT' 'Apache-2.0')
10
depends=('libgcc')
11
makedepends=('cargo')
12
conflicts=('hashline-bin')
13
options=('!lto')
14
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
15
"LICENSE-$pkgver::https://raw.githubusercontent.com/quangdang46/hashline/v$pkgver/MIT")
16
sha256sums=('1172445d389c9d439d3cf0e936c2e143ff4155aa8c0c20f1314f15b973f0ade0'
17
'ebb5e71bc9cf9a2b324d71576d646d2f69d613672dc12fca3b7ecc0f040596d7')
18
19
prepare() {
20
cd "$pkgname-$pkgver"
21
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
22
}
23
24
build() {
25
cd "$pkgname-$pkgver"
26
cargo build --frozen --release
27
}
28
29
check() {
30
cd "$pkgname-$pkgver"
31
cargo test --frozen
32
}
33
34
package() {
35
cd "$pkgname-$pkgver"
36
install -Dm755 target/release/hashline "$pkgdir/usr/bin/hashline"
37
install -Dm644 "$srcdir/LICENSE-$pkgver" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
38
}
39
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-06 05:10:24 | Low | 1 |