Skip to main content

parse_pkgbuild_deps

Function parse_pkgbuild_deps 

Source
pub fn parse_pkgbuild_deps(
    text: &str,
) -> (Vec<String>, Vec<String>, Vec<String>, Vec<String>)
Expand description

What: Parse PKGBUILD dependency categories through arch-toolkit.

Inputs:

  • text: PKGBUILD text that is never executed here.

Output:

  • Runtime, build, check, and optional dependency specs.

Details:

  • Pure parsing preserves the existing Pacsea helper surface.