Streamline base-devel installation

This commit is contained in:
Manuel Thalmann 2024-07-14 03:05:26 +02:00
parent 9885850fce
commit cecb640619
2 changed files with 36 additions and 12 deletions
scripts/Arch/Software/base-devel

View file

@ -0,0 +1,22 @@
#!/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
end