You've already forked aur_builder
Get makepkg working
This commit is contained in:
28
run.sh
28
run.sh
@ -7,10 +7,32 @@ sudo sh -c 'echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts'
|
||||
|
||||
sudo pacman -Syu
|
||||
|
||||
sudo chown --recursive builder:builder /w
|
||||
yay_build() {
|
||||
# not working yet
|
||||
# rm-rf .git
|
||||
|
||||
makepkg --printsrcinfo > .SRCINFO
|
||||
git config --global user.email "aur_builder@balki.me"
|
||||
git config --global user.name "Balakrishnan Balasubramanian"
|
||||
makepkg --printsrcinfo >.SRCINFO
|
||||
|
||||
makepkg -s
|
||||
yay -Bi "$PWD"
|
||||
|
||||
}
|
||||
|
||||
makepkg_build() {
|
||||
if [ -d deps ]; then
|
||||
sudo pacman -U deps/*pkg.tar*
|
||||
fi
|
||||
makepkg -s
|
||||
}
|
||||
|
||||
cp -r /w .
|
||||
|
||||
cd ./w
|
||||
|
||||
# bash
|
||||
# yay_build
|
||||
|
||||
makepkg_build
|
||||
|
||||
sudo cp ./*pkg.tar* /w
|
||||
|
Reference in New Issue
Block a user