linyaps-box-rust
LOW
maintainer taotieren
0 votes
scanned 2026-08-19 09:41:53.223783
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: taotieren <admin@taotieren.com>
2
3
pkgname=linyaps-box-rust
4
_tagname=2.3.0-rust.1
5
pkgver=${_tagname//-/+}
6
pkgrel=2
7
pkgdesc="Linyaps OCI runtime implemented in Rust A command-compatible Rust implementation of the Linyaps OCI runtime"
8
arch=($CARCH)
9
url="https://github.com/guanzi008/linyaps-box-rust"
10
license=('LGPL-3.0-or-later')
11
provides=(${pkgname} ${pkgname%-rust})
12
conflicts=(${pkgname} ${pkgname%-rust})
13
replaces=()
14
depends=(
15
libgcc_s.so
16
)
17
makedepends=(
18
git
19
rust
20
pkgconf
21
)
22
optdepends=()
23
backup=()
24
options=(!lto !debug)
25
install=
26
source=("git+${url}.git#tag=v${_tagname}")
27
sha256sums=('675733aa729070ad6d09a49c562a34ecdf41a6a6d0feef752868bd03604f9ff8')
28
29
prepare() {
30
git -C "${srcdir}/${pkgname}" clean -dfx
31
cd "${srcdir}/${pkgname}"
32
export RUSTUP_TOOLCHAIN=stable
33
cargo fetch --locked --target host-tuple
34
cargo fetch --target "$CARCH-unknown-linux-gnu"
35
}
36
37
build() {
38
cd "${srcdir}/${pkgname}/"
39
40
export RUSTUP_TOOLCHAIN=stable
41
export CARGO_TARGET_DIR=target
42
# cargo build --release --all-features
43
# CFLAGS+=" -ffat-lto-objects"
44
cargo build \
45
--offline \
46
--locked \
47
--release
48
}
49
50
# check() {
51
# cd "${srcdir}/${pkgname}/"
52
#
53
# export RUSTUP_TOOLCHAIN=stable
54
# cargo test --all-features
55
# }
56
57
package() {
58
cd "${srcdir}/${pkgname}/"
59
60
export RUSTUP_TOOLCHAIN=stable
61
# cargo install --no-track --all-features --root "$pkgdir/usr/" --path .
62
find target/release \
63
-maxdepth 1 \
64
-executable \
65
-type f \
66
-exec install -vDm0755 -t "$pkgdir/usr/bin/" {} +
67
# install -vDm0755 target/release/${pkgname%-monitor} -t "$pkgdir/usr/bin/"
68
# install -vDm0644 debian/*.1 -t ${pkgdir}/usr/share/man/man1/
69
install -vDm0644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
70
install -vDm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
71
cp -rv LICENSES "${pkgdir}/usr/share/licenses/${pkgname}/"
72
}
73
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-19 09:41:53 | Low | 1 |