2024-07-14 01:05:26 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
2024-11-01 12:12:16 +00:00
|
|
|
source "$dir/../../lib/software.fish"
|
2024-07-14 01:05:26 +00:00
|
|
|
|
|
|
|
function installSW
|
2024-07-15 07:41:02 +00:00
|
|
|
pacinst base-devel
|
2024-07-14 01:05:26 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
function configureSW
|
|
|
|
set -l customFile /etc/makepkg.conf.d/valhalla.conf
|
|
|
|
|
|
|
|
if [ ! -f "$customFile" ]
|
|
|
|
begin
|
|
|
|
printf %s\n \
|
|
|
|
"OPTIONS+=(!debug)" \
|
|
|
|
"MAKEFLAGS=\"-j\$(nproc)\""
|
2024-10-06 19:25:34 +00:00
|
|
|
end | sudo tee "$customFile" >/dev/null
|
2024-07-14 01:05:26 +00:00
|
|
|
end
|
|
|
|
end
|
2024-07-14 08:09:57 +00:00
|
|
|
|
2024-10-13 20:07:44 +00:00
|
|
|
runInstaller --force $argv
|
2024-07-14 01:05:26 +00:00
|
|
|
end
|