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

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!

makepkg --printsrcinfo > .SRCINFOgit add PKGBUILD .SRCINFOgit commit -m $UsefulCommitMessagegit push