Do not remove .git directory because it cause successive call to makepkg to not work. Use .scmversion file instead.