ArchLinux - submit packages to AUR

Creating a new package

In order to create a new, empty, local Git repository for a package, simply git clone the remote repository with the corresponding name. If the package does not exist on AUR yet, you will see the following warning:

git clone ssh://

Cloning into 'package_name'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.

If you have already created a git repository, you can simply create a remote for the AUR git repository and then fetch it:

git remote add remote_name ssh://
git fetch remote_name

where remote_name is the name of the remote to create (e.g., “origin”).

Uploading packages

For example:

makepkg --printsrcinfo > .SRCINFO
git commit -m "useful commit message"
git push