use 'git ls-remote $URL HEAD' instead of 'makepkg -o'. thanks to elken.