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,7 @@
prefix=/foo
libdir=${prefix}/dummy
Name: dummy
Description: Nonexisting lib but add an rpath
Version: 1.0.0
Libs: -Wl,-rpath,${libdir}
@@ -0,0 +1,20 @@
project('build rpath', 'c', 'cpp')
subdir('sub')
pkgconf_dep = dependency('dummy')
executable('prog', 'prog.c',
dependencies : pkgconf_dep,
link_with : l,
build_rpath : '/foo/bar',
install_rpath : '/baz',
install : true,
)
executable('progcxx', 'prog.cc',
dependencies : pkgconf_dep,
link_with : l,
build_rpath : '/foo/bar',
install_rpath : 'baz',
install : true,
)
@@ -0,0 +1,5 @@
int get_stuff();
int main(int argc, char **argv) {
return get_stuff();
}
@@ -0,0 +1,8 @@
#include <string>
#include <iostream>
int main(int argc, char **argv) {
std::string* s = new std::string("Hello");
delete s;
return 0;
}
@@ -0,0 +1 @@
l = shared_library('stuff', 'stuff.c')
@@ -0,0 +1,3 @@
int get_stuff() {
return 0;
}