aur publish

Duplicated post. TODO: notes for aur.

Preface

I had a terrible experience due to my unfamiliarity with the rules Arch package guidelines!

Important

package_naming

Choose a wonderful name.

LOWERCASE!

Start

Prepare

Before the jounal, just follow the wiki for authority first: AUR_submission_guidelines

Terminal window
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!

Beginning

All well! Now just crafting the PKGBUILD!

A long time later…

End

Publishing!

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