pub fn parse_backup_from_pkgbuild(pkgbuild: &str) -> Vec<String>Expand description
What: Parse backup array from PKGBUILD content.
Inputs:
pkgbuild: Raw PKGBUILD file content.
Output:
- Returns a vector of backup file paths.
Details:
- Parses bash array syntax:
backup=('file1' 'file2' '/etc/config') - Handles single-line and multi-line array definitions.