Hugo Osvaldo Barrera cbea6f3213 testing/candyboot: new aport
UEFI stub for bundling a kernel, cmdline and initrd from a single UEFI
executable.

See: https://git.sr.ht/~whynothugo/candyboot
2025-06-11 12:33:52 +00:00

31 lines
857 B
Plaintext

maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
pkgname=candyboot
pkgver=0.1.0
pkgrel=0
pkgdesc="UEFI stub for bundling a kernel, cmdline and initrd from a single UEFI executable"
url="https://git.sr.ht/~whynothugo/candyboot"
arch="x86_64"
license="ISC"
makedepends="cargo rust-uefi"
source="candyboot-$pkgver.tar.gz::https://git.sr.ht/~whynothugo/candyboot/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="net !check !archcheck" # fetch dependencies, no tests, false positive (efi binary)
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
make build
}
package() {
DESTDIR="$pkgdir" PREFIX="/usr" make install --trace
}
sha512sums="
c07dfc1ac091f671f36e8e1a441fc0f91f58fb1606500226e5b25e38bd1efc9e7e8114db199adf38bd60d8733c4fe344f22d960c54d4048a668706fc1ca0021b candyboot-0.1.0.tar.gz
"