Preface

It’s a very terrible exprience caused by unknown of the rules of Arch package guidelines!

Important

package_naming

It can only be lowercase!

Start

Prepare

In front of the beginning, you shoud follow this wiki for your authority!
AUR_submission_guidelines

git -c init.defaultbranch=master clone ssh://aur@aur.archlinux.org/$YourPackageName.git

If there is warnning that git-upload-pack: invalid repository name , you should go back to AUR_submission_guidelines!

Beginning

All is in sort!
now you can make your PKGBUILD!

End

Just publish it!

makepkg --printsrcinfo > .SRCINFO
git add PKGBUILD .SRCINFO
git commit -m $UsefulCommitMessage
git push