solus-stuff/build

23 lines
390 B
Plaintext
Raw Normal View History

2020-06-23 01:13:20 +00:00
#!/usr/bin/fish
function buildme
2020-06-23 01:22:42 +00:00
echo Now building (basename $argv)
2020-06-23 01:13:20 +00:00
cd $argv
make
2020-12-06 00:07:05 +00:00
sudo eopkg it --reinstall (basename $argv)*.eopkg
2020-06-23 01:13:20 +00:00
cd ..
end
cd (dirname (realpath (status -f)))
set profile "-punstable-x86_64"
sudo solbuild init $profile
sudo solbuild update $profile
2020-11-26 07:04:46 +00:00
2020-06-23 01:13:20 +00:00
if test "$argv"
for i in $argv
buildme $i
end
else
2020-11-26 07:04:46 +00:00
sudo ./build (cat list)
2020-06-23 01:13:20 +00:00
end