payload2iso
LOW
maintainer shadichy
0 votes
scanned 2026-09-04 07:57:01.997051
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
#shellcheck shell=bash
2
# AUR Maintainer: Shadichy <shadichy@blisslabs.org>
3
4
pkgname=payload2iso
5
pkgver=0.1.0
6
pkgrel=1
7
pkgdesc="BlissOS OTA payload-to-ISO converter"
8
arch=('x86_64' 'aarch64')
9
url="https://github.com/shadichy/payload2iso"
10
license=('GPL-3.0-or-later')
11
12
depends=(
13
'bzip2'
14
'erofs-utils'
15
'gcc-libs'
16
'glibc'
17
'grub'
18
'libisoburn'
19
'squashfs-tools'
20
'xz'
21
)
22
23
optdepends=(
24
'dosfstools: for EFI boot support in grub-mkrescue'
25
'mtools: for FAT/EFI filesystem staging in grub-mkrescue'
26
'e2fsprogs: for debugfs inspection of ext4 images'
27
'crau-nbd: for zero-scratch NBD block device mapping'
28
)
29
30
makedepends=(
31
'cargo'
32
'protobuf'
33
)
34
35
checkdepends=(
36
'p7zip'
37
)
38
39
provides=('p2i' 'payload2iso')
40
conflicts=('payload2iso-git')
41
42
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/shadichy/payload2iso/archive/refs/tags/v${pkgver}.tar.gz")
43
sha256sums=('7c9d2e5426bc4e2e74c1eca544ad22e3641b471872249ac297ef10f8b7d153f8')
44
45
prepare() {
46
cd "${pkgname}-${pkgver}"
47
export RUSTUP_TOOLCHAIN=stable
48
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
49
}
50
51
build() {
52
cd "${pkgname}-${pkgver}"
53
export RUSTUP_TOOLCHAIN=stable
54
export CARGO_TARGET_DIR=target
55
cargo build --release
56
}
57
58
check() {
59
cd "${pkgname}-${pkgver}"
60
export RUSTUP_TOOLCHAIN=stable
61
cargo test
62
}
63
64
package() {
65
cd "${pkgname}-${pkgver}"
66
67
# Binaries
68
install -Dm755 "target/release/p2i" "${pkgdir}/usr/bin/p2i"
69
ln -s p2i "${pkgdir}/usr/bin/payload2iso"
70
71
# Default GRUB assets
72
install -d "${pkgdir}/usr/share/p2i/assets"
73
if [ -d "assets" ]; then
74
cp -r assets/* "${pkgdir}/usr/share/p2i/assets/"
75
fi
76
77
# License & documentation
78
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
79
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
80
install -Dm644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
81
install -Dm644 ChangeLog "${pkgdir}/usr/share/doc/${pkgname}/ChangeLog"
82
}
83
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-04 07:57:01 | Low | 1 |