ArchLinux - submit packages to AUR

https://wiki.archlinux.org/index.php/Arch_User_Repository#Submitting_packages

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://aur@aur.archlinux.org/package_name.git

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://aur@aur.archlinux.org/package_name.git
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 add PKGBUILD .SRCINFO
git commit -m "useful commit message"
git push