libbz2-rs-sys
LOW
maintainer Chocobo1
0 votes
scanned 2026-09-01 15:48:43.798595
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: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3
pkgname=libbz2-rs-sys
4
pkgver=0.2.5
5
pkgrel=1
6
pkgdesc="An implementation of bzip2 in pure rust available as a C dynamic library"
7
arch=('i686' 'x86_64')
8
url="https://github.com/trifectatechfoundation/libbzip2-rs"
9
license=('bzip2-1.0.6')
10
makedepends=('cargo' 'cargo-c')
11
options=('staticlibs')
12
source=("$pkgname-$pkgver-src.tar.gz::https://github.com/trifectatechfoundation/libbzip2-rs/archive/refs/tags/v${pkgver}.tar.gz")
13
sha256sums=('c31bb5791769cabff1d70ab7f05eec6a71b78cba5b317f767e367982c5286efe')
14
15
16
prepare() {
17
cd "libbzip2-rs-$pkgver/libbz2-rs-sys-cdylib"
18
19
if [ ! -f "Cargo.lock" ]; then
20
cargo update
21
fi
22
cargo fetch
23
}
24
25
check() {
26
cd "libbzip2-rs-$pkgver/libbz2-rs-sys-cdylib"
27
28
#cargo test \
29
# --frozen
30
}
31
32
package() {
33
cd "libbzip2-rs-$pkgver/libbz2-rs-sys-cdylib"
34
35
cargo cinstall \
36
--locked \
37
--destdir "$pkgdir" \
38
--prefix "/usr"
39
40
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/libbz2-rs-sys"
41
}
42
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-01 15:48:43 | Low | 1 |