blob: 60892d7bd1740bf238557107959cd1da386c1c29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
case $1 in
generate-srcinfo)
makepkg --printsrcinfo > .SRCINFO
;;
push)
if git remote get-url aur; then
if ! test "$(git remote get-url aur)" = "ssh://aur@aur.archlinux.org/shadow-tech.git"; then
git remote set-url aur "ssh://aur@aur.archlinux.org/shadow-tech.git"
fi
else
git remote add aur "ssh://aur@aur.archlinux.org/shadow-tech.git"
fi
git push aur master
;;
*)
echo "This is a helper script for the maintainers of this package"
echo "Available Commands:"
echo " generate-srcinfo - generate the .SRCINFO from current build (run makepkg before to update version number)"
;;
esac
|