2024-07-14 01:05:26 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
|
|
|
source "$dir/../../Scripts/software.fish"
|
|
|
|
|
|
|
|
function installSW
|
|
|
|
pacinst -Syu base-devel
|
|
|
|
configureSW
|
|
|
|
end
|
|
|
|
|
|
|
|
function configureSW
|
|
|
|
set -l customFile /etc/makepkg.conf.d/valhalla.conf
|
|
|
|
|
|
|
|
if [ ! -f "$customFile" ]
|
|
|
|
begin
|
|
|
|
printf %s\n \
|
|
|
|
"OPTIONS+=(!debug)" \
|
|
|
|
"MAKEFLAGS=\"-j\$(nproc)\""
|
|
|
|
end | sudo tee "$customFile" > /dev/null
|
|
|
|
end
|
|
|
|
end
|
2024-07-14 08:09:57 +00:00
|
|
|
|
|
|
|
runInstaller $argv
|
2024-07-14 01:05:26 +00:00
|
|
|
end
|