# Static payloads are built and checked on the host before packaging.
pkgname=fds-cli
version=$(cat "${XBPS_DISTDIR}/fds-version")
revision=1
archs="aarch64"
nostrip=yes
noverifyrdeps=yes
depends="coreutils e2fsprogs erofs-utils"
short_desc="FDS static system and cartridge command interface"
maintainer="FDS/OS maintainers"
license="MIT"
homepage="https://github.com/void-linux/void-packages"
do_install() {
	local input="${XBPS_SRCDISTDIR}/${pkgname}-${version}"
	(cd "$input" && sha256sum -c SHA256SUMS) || return 1
	vbin "${input}/fds"
	vbin "${input}/fds-program"
	vbin "${input}/fds-control"
	vbin "${input}/fds-boottrace"
	vbin "${input}/fds-burn"
	vbin "${input}/fds-inspect"
	vbin "${input}/fds-eject"
	vbin "${input}/fds-power"
	vbin "${input}/fds-release"
	vlicense "${input}/LICENSE"
	vlicense "${input}/RUST-NOTICES.txt"
}
