blob: aa18bce5439a77dac8ea496d04581d9306bb7b2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/bash
set -e # exit on error
echo "cleanup"
sudo rm -rf */
echo "update SRCINFO"
makepkg --printsrcinfo > .SRCINFO
(git add .SRCINFO && git commit -m "SRCINFO") || true
echo "push to aur"
if [ -z "$(git remote | grep aur)" ]; then
git remote add aur ssh://aur@aur.archlinux.org/rgx-git.git
fi
git push --set-upstream aur master
|