payload2iso

LOW
maintainer shadichy 0 votes scanned 2026-09-04 07:57:01.997051
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#shellcheck shell=bash
2# AUR Maintainer: Shadichy <shadichy@blisslabs.org>
3
4pkgname=payload2iso
5pkgver=0.1.0
6pkgrel=1
7pkgdesc="BlissOS OTA payload-to-ISO converter"
8arch=('x86_64' 'aarch64')
9url="https://github.com/shadichy/payload2iso"
10license=('GPL-3.0-or-later')
11
12depends=(
13 'bzip2'
14 'erofs-utils'
15 'gcc-libs'
16 'glibc'
17 'grub'
18 'libisoburn'
19 'squashfs-tools'
20 'xz'
21)
22
23optdepends=(
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
30makedepends=(
31 'cargo'
32 'protobuf'
33)
34
35checkdepends=(
36 'p7zip'
37)
38
39provides=('p2i' 'payload2iso')
40conflicts=('payload2iso-git')
41
42source=("${pkgname}-${pkgver}.tar.gz::https://github.com/shadichy/payload2iso/archive/refs/tags/v${pkgver}.tar.gz")
43sha256sums=('7c9d2e5426bc4e2e74c1eca544ad22e3641b471872249ac297ef10f8b7d153f8')
44
45prepare() {
46 cd "${pkgname}-${pkgver}"
47 export RUSTUP_TOOLCHAIN=stable
48 cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
49}
50
51build() {
52 cd "${pkgname}-${pkgver}"
53 export RUSTUP_TOOLCHAIN=stable
54 export CARGO_TARGET_DIR=target
55 cargo build --release
56}
57
58check() {
59 cd "${pkgname}-${pkgver}"
60 export RUSTUP_TOOLCHAIN=stable
61 cargo test
62}
63
64package() {
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)SeverityRules
2026-09-04 07:57:01 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