fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,6 @@
#!/usr/bin/env python3
from sys import argv
from shutil import copy
copy(argv[1], argv[2])
@@ -0,0 +1,6 @@
extern int foo(void);
int main(void)
{
return foo();
}
@@ -0,0 +1,15 @@
project('foo', 'c')
symlinked_subproject = subproject('symlinked_subproject').get_variable('dep')
executable('foo',
sources : 'main.c',
dependencies : symlinked_subproject
)
custom_target(
input : symlinked_subproject.get_variable('datadir') / 'datafile',
output : 'datafile_copy',
command : [find_program('cp.py'), '@INPUT@', '@OUTPUT@'],
build_always : true
)
@@ -0,0 +1,10 @@
project('symlinked_subproject', 'c', version : '1.0.0')
dep = declare_dependency(
sources : 'src.c',
variables : {
'datadir': meson.current_source_dir() / 'datadir'
}
)
subdir('datadir')
@@ -0,0 +1,4 @@
int foo(void)
{
return 0;
}