repo-automation/blendos-repo-automation.sh

78 lines
2 KiB
Bash
Raw Normal View History

#!/usr/bin/env bash
echo '
[askiiart]
SigLevel = Optional
2024-10-02 23:11:54 -05:00
Server = https://askiiart.net/repos/archlinux/$arch' | sudo tee -a /etc/pacman.conf
2024-10-09 09:42:49 -05:00
sudo pacman -Sy
2024-10-07 22:41:16 -05:00
sudo mkdir /var/log/makepkg/
sudo chown builder /var/log/makepkg/
chmod -R 777 /var/log/makepkg/
mkdir /tmp/arch-workdir/
echo "PKGDEST=/repo/
LOGDEST=/var/log/makepkg/" >~/.makepkg.conf
cd /tmp/arch-workdir
git clone https://git.askiiart.net/askiiart-blendos/akshara
cd ./akshara/
git switch packaging
makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./akshara/
git clone https://git.askiiart.net/askiiart-blendos/blend
cd ./blend/
git switch packaging
makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./blend/
git clone https://git.askiiart.net/askiiart-blendos/blend-inst
cd ./blend-inst/
makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./blend-inst/
git clone https://github.com/blend-os/blend-web-store-pkg
cd ./blend-web-store-pkg/
makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./blend-web-store-pkg/
2024-10-02 22:25:00 -05:00
git clone https://git.blendos.co/blendOS/packaging/filesystem-blend.git
cd ./filesystem-blend/
makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./filesystem-blend/
git clone https://git.blendos.co/blendOS/packaging/blendos-wallpapers.git
cd ./blendos-wallpapers/
makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./blendos-wallpapers/
git clone https://git.blendos.co/blendOS/packaging/jade-gui.git
cd ./jade-gui/
makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./jade-gui/
git clone https://git.blendos.co/blendOS/packaging/jade-gui-postinst
cd ./jade-gui-postinst/
makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./jade-gui-postinst/
2024-11-11 22:51:28 -06:00
#git clone https://github.com/guydunigo/remove_old_arch_pkgs
#cd ./remove_old_arch_pkgs
#sudo pacman -S cargo --noconfirm --needed
#cargo run -- -0 /repo/
#cd ..
2024-11-08 18:44:09 -06:00
cd /repo/
2024-11-08 18:44:09 -06:00
rm -rf /tmp/arch-workdir
rm ./askiiart*
2024-11-12 08:31:14 -06:00
repo-add ./breakfast.db.tar.zst $(find . -name "*.tar.zst" ! -name "breakfast*" ! -name "askiiart*")