Submit a Package to the Arch User Repository
Table of Contents
I assume you are somewhat familiar with makepkg, git and the process of creating packages under Arch Linux.
Once your PKGBUILD is created, works as desired and the package builds, is installable and works, this is how you continue:
Preparation, Initial Upload-up-
-
create the
.SRCINFOfile:makepkg --printsrcinfo > .SRCINFO -
add a
.gitignorefile with the following content:* !.gitignore !PKGBUILD !.SRCINFO !*.patch !*.diff !*.install !*.service
You also need an AUR account, and you need an SSH key pair for authentication. Once this is set up, the easiest way to continue is:
- issue
git clone ssh://aur@aur.archlinux.org/insert_name_here.git- make sure the directoryinsert_name_heredoes not exist beforehand! - copy the files mentioned in the
.gitignoreabove into the just createdinsert_name_heredirectory - make sure you are happy with the output of
git config user.nameandgit config user.email- if not, change it now! - now comes the usual
git add .; git commit -m "meaningful message"; git push origin master
If this worked, your new AUR package should now show up under https://aur.archlinux.org/packages/insert_name_here/!
Maintenance, Subsequent Uploads-up-
After you made changes:
- in
PKGBUILDincrease thepkgrelvariable by one - recreate
.SRCINFO - now comes the usual
git add .; git commit -m "meaningful message"; git push
