diff --git a/bauh/gems/arch/pkgbuild.py b/bauh/gems/arch/pkgbuild.py index 0b92e9a8..747b336d 100644 --- a/bauh/gems/arch/pkgbuild.py +++ b/bauh/gems/arch/pkgbuild.py @@ -7,7 +7,7 @@ RE_PKGBUILD_DEPSON = re.compile(r"\s+depends = (.+)") def read_optdeps_as_dict(srcinfo: str) -> dict: res = {} - for optdep in read_opts_deps(srcinfo): + for optdep in read_optdeps(srcinfo): split_dep = optdep.split(':') res[split_dep[0].strip()] = split_dep[1].strip() if len(split_dep) > 1 else None