2020-06-23 01:13:20 +00:00
|
|
|
#!/usr/bin/fish
|
2020-11-10 15:59:58 +00:00
|
|
|
sudo eopkg it solbuild-config-local-unstable
|
|
|
|
sudo solbuild init -p local-unstable-x86_64
|
2020-06-23 01:13:20 +00:00
|
|
|
|
|
|
|
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
|
2020-06-24 22:00:42 +00:00
|
|
|
sudo solbuild build package.yml -p local-unstable-x86_64 -d
|
2020-06-23 01:22:42 +00:00
|
|
|
sudo rm /var/lib/solbuild/local/(basename $argv)*.eopkg
|
2020-06-23 01:13:20 +00:00
|
|
|
sudo mv *.eopkg /var/lib/solbuild/local
|
|
|
|
cd ..
|
|
|
|
end
|
|
|
|
|
|
|
|
cd (dirname (realpath (status -f)))
|
|
|
|
|
|
|
|
if test "$argv"
|
|
|
|
for i in $argv
|
|
|
|
buildme $i
|
|
|
|
end
|
|
|
|
else
|
|
|
|
sudo rm /var/lib/solbuild/local/*.eopkg
|
2020-11-10 15:59:58 +00:00
|
|
|
./build (cat list)
|
2020-06-23 01:13:20 +00:00
|
|
|
end
|
|
|
|
|
2020-06-24 22:00:42 +00:00
|
|
|
sudo mv (fd -e eopkg) /var/lib/solbuild/local/
|
2020-06-23 01:13:20 +00:00
|
|
|
cd /var/lib/solbuild/local/
|
|
|
|
sudo eopkg index --skip-signing /var/lib/solbuild/local/
|
2020-06-24 22:00:42 +00:00
|
|
|
sudo eopkg ur
|
2020-11-10 15:59:58 +00:00
|
|
|
sudo eopkg it --reinstall (basename $argv)
|