[aur] skipping makepkg dependency checking when 'simple_checking' is disabled

This commit is contained in:
Vinícius Moreira
2020-02-12 11:11:29 -03:00
parent 1018a438c9
commit 87e49100d3

View File

@@ -18,6 +18,9 @@ def check(pkgdir: str, optimize: bool, missing_deps: bool, handler: ProcessHandl
cmd = ['makepkg', '-ALcf', '--check', '--noarchive', '--nobuild', '--noprepare']
if not missing_deps:
cmd.append('--nodeps')
if optimize:
if os.path.exists(CUSTOM_MAKEPKG_FILE):
handler.watcher.print('Using custom makepkg.conf -> {}'.format(CUSTOM_MAKEPKG_FILE))