fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
printf("Hello world!\n");
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#define DLL_PUBLIC __declspec(dllexport)
|
||||
#else
|
||||
#define DLL_PUBLIC
|
||||
#endif
|
||||
|
||||
int DLL_PUBLIC foo(void) {
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
project('check old builddirs in a stable release', 'c')
|
||||
|
||||
lib = both_libraries('lib', 'lib.c')
|
||||
exe = executable('foo', 'foo.c', link_with: lib, install: true)
|
||||
test('exe', exe)
|
||||
|
||||
install_data('data/foo.dat', install_dir: get_option('datadir') / 'foo')
|
||||
install_man('foo.1')
|
||||
|
||||
py = import('python').find_installation()
|
||||
py.install_sources('mod.py', subdir: 'foo')
|
||||
install_subdir('data', install_dir: py.get_install_dir())
|
||||
|
||||
custom_target(
|
||||
input: 'mod.py',
|
||||
output: 'hello.dat',
|
||||
command: [py, '@INPUT@'],
|
||||
capture: true,
|
||||
install: true,
|
||||
install_dir: get_option('localstatedir') / 'foo',
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
print('Hello world!')
|
||||
Reference in New Issue
Block a user