libbz2-rs-sys

LOW
maintainer Chocobo1 0 votes scanned 2026-09-01 15:48:43.798595
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: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3pkgname=libbz2-rs-sys
4pkgver=0.2.5
5pkgrel=1
6pkgdesc="An implementation of bzip2 in pure rust available as a C dynamic library"
7arch=('i686' 'x86_64')
8url="https://github.com/trifectatechfoundation/libbzip2-rs"
9license=('bzip2-1.0.6')
10makedepends=('cargo' 'cargo-c')
11options=('staticlibs')
12source=("$pkgname-$pkgver-src.tar.gz::https://github.com/trifectatechfoundation/libbzip2-rs/archive/refs/tags/v${pkgver}.tar.gz")
13sha256sums=('c31bb5791769cabff1d70ab7f05eec6a71b78cba5b317f767e367982c5286efe')
14
15
16prepare() {
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
25check() {
26 cd "libbzip2-rs-$pkgver/libbz2-rs-sys-cdylib"
27
28 #cargo test \
29 # --frozen
30}
31
32package() {
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)SeverityRules
2026-09-01 15:48:43 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