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,15 @@
#!/usr/bin/env python3
import os
import sys
out = sys.argv[1]
try:
os.mkdir(out)
except FileExistsError:
pass
for name in ('a', 'b', 'c'):
with open(os.path.join(out, name + '.html'), 'w') as f:
f.write(name)
@@ -0,0 +1,9 @@
project('custom-target-dir-install')
docgen = find_program('docgen.py')
custom_target('docgen',
output : 'html',
command : [docgen, '@OUTPUT@'],
install : true,
install_dir : join_paths(get_option('datadir'), 'doc/testpkgname'))
@@ -0,0 +1,7 @@
{
"installed": [
{"type": "file", "file": "usr/share/doc/testpkgname/html/a.html"},
{"type": "file", "file": "usr/share/doc/testpkgname/html/b.html"},
{"type": "file", "file": "usr/share/doc/testpkgname/html/c.html"}
]
}