[build] type = "meson" [alternatives] provides = [ "initramfs" ] [build.flags] build_dir = "build" post_install = [ 'install -Dm755 "$DEPOT_SPECDIR/update-all-initramfs" "$DESTDIR/usr/share/depot.d/scripts/update-all-initramfs"', 'install -Dm644 "$DEPOT_SPECDIR/99-mkinitramfs.toml" "$DESTDIR/usr/share/depot.d/hooks/99-mkinitramfs.toml"', ] [dependencies] build = [ "rust", "meson", "git" ] runtime = [ "glibc", "libunwind", "kmod" ] [package] description = "Simple tool for creating an Initramfs" homepage = "https://gitlab.com/SFG545/mkinitramfs" license = "MIT" name = "mkinitramfs" version = "0.2.0" revision = 1 [[source]] extract_dir = "$name-$version" url = "https://gitlab.com/SFG545/mkinitramfs.git" sha256 = "skip" [[manual_sources]] files = [ "update-all-initramfs", "99-mkinitramfs.toml" ]