#!/usr/bin/env bash prep() { sudo mkdir /var/log/makepkg/ sudo chown builder /var/log/makepkg/ chmod -R 777 /var/log/makepkg/ echo "PKGDEST=/repo/ LOGDEST=/var/log/makepkg/" >~/.makepkg.conf echo '[multilib] Include = /etc/pacman.d/mirrorlist [askiiart] Server = https://askiiart.net/repos/archlinux/$arch SigLevel = Optional' | sudo tee -a /etc/pacman.conf sudo pacman -Syu mkdir /tmp/arch-workdir/ chmod -R 777 /tmp/arch-workdir/ } build_aur_package() { cd /tmp/arch-workdir/ mkdir ./$1 cd ./$1 zbuilder.sh $1 rm -rf ~/source } prep build_aur_package 'paru' 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/ 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/ #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 .. cd /repo/ rm -rf /tmp/arch-workdir repo-add -Rp ./breakfast.db.tar.zst $(find . -name "*.tar.zst" ! -name "breakfast*")