Duplicated post.
TODO: notes for aur.
I had a terrible experience due to my unfamiliarity with the rules Arch package guidelines!
Choose a wonderful name.
LOWERCASE!
Before the jounal, just follow the wiki for authority first: AUR_submission_guidelines
git -c init.defaultbranch=master clone ssh://aur@aur.archlinux.org/$ThePackageNameYouWant.git
The error such as git-upload-pack: invalid repository name
means that you have to go back to AUR_submission_guidelines!
All well! Now just crafting the PKGBUILD!
A long time later...
Publishing!
makepkg --printsrcinfo > .SRCINFOgit add PKGBUILD .SRCINFOgit commit -m $UsefulCommitMessagegit push