auto-build script

This commit is contained in:
nelle 2023-08-08 06:08:55 -06:00
parent a929c3c108
commit a2b2674e72
2 changed files with 11 additions and 0 deletions

View file

@ -1,4 +1,15 @@
#!/bin/bash
# building phase
cd working
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin
makepkg
mv ./*.pkg.tar.zst ../../x86_64
# packaging phase
# x86_64
rm ./x86_64/obos-core-repo.db
rm ./x86_64/obos-core-repo.files
repo-add ./x86_64/obos-core-repo.db.tar.gz ./x86_64/*.pkg.tar.zst
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