obos-core-repos/repo-gen.sh

50 lines
1 KiB
Bash
Raw Normal View History

2023-08-08 06:08:55 -06:00
#!/bin/bash
# building phase
2023-08-08 06:50:21 -06:00
rm ./x86_64/*.pkg.tar.zst
2023-08-08 06:08:55 -06:00
cd working
2023-08-08 06:23:28 -06:00
2023-08-08 06:08:55 -06:00
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin
2023-08-08 21:22:55 -06:00
git pull
2023-08-08 06:08:55 -06:00
makepkg
mv ./*.pkg.tar.zst ../../x86_64
2023-08-08 06:23:28 -06:00
cd ..
2023-08-08 06:22:35 -06:00
git clone https://aur.archlinux.org/mkinitcpio-openswap.git
cd mkinitcpio-openswap
2023-08-08 21:22:55 -06:00
git pull
2023-08-08 06:22:35 -06:00
makepkg
mv ./*.pkg.tar.zst ../../x86_64
2023-08-08 06:23:28 -06:00
cd ..
2023-08-08 06:22:35 -06:00
git clone https://aur.archlinux.org/ckbcomp.git
cd ckbcomp
2023-08-08 21:22:55 -06:00
git pull
2023-08-08 06:22:35 -06:00
makepkg
mv ./*.pkg.tar.zst ../../x86_64
2023-08-08 06:23:28 -06:00
cd ..
2023-08-08 06:22:35 -06:00
git clone https://aur.archlinux.org/calamares.git
cd calamares
2023-08-08 21:22:55 -06:00
git pull
2023-08-08 06:22:35 -06:00
makepkg
mv ./*.pkg.tar.zst ../../x86_64
2023-08-08 21:22:55 -06:00
cd ..
git clone https://aur.archlinux.org/web-greeter.git
cd web-greeter
git pull
makepkg
mv ./*.pkg.tar.zst ../../x86_64
2023-08-08 06:43:27 -06:00
cd ../../
2023-08-08 06:08:55 -06:00
# packaging phase
2023-08-08 05:50:18 -06:00
# x86_64
2023-08-08 06:08:55 -06:00
rm ./x86_64/obos-core-repo.db
rm ./x86_64/obos-core-repo.files
2023-08-08 05:50:18 -06:00
repo-add ./x86_64/obos-core-repo.db.tar.gz ./x86_64/*.pkg.tar.zst
2023-08-08 06:43:27 -06:00
rm ./x86_64/obos-core-repo.db
rm ./x86_64/obos-core-repo.files
mv ./x86_64/obos-core-repo.files.tar.gz ./x86_64/obos-core-repo.files
mv ./x86_64/obos-core-repo.db.tar.gz ./x86_64/obos-core-repo.db