To upload PKGBUILDs to the MPR, you must first already have an SSH key pair on your local system.
After such, add the public key to your account under the My Account section, and then properly configure SSH in your
~/.ssh/config file like so:
Host mpr.hunterwittenborn.com IdentityFile ~/.ssh/name_of_ssh_key User mpr
When uploading the SSH key to your profile on the MPR, make sure you only upload the file with the
On the contrary,
~/.ssh/name_of_ssh_key in the above example should point to the file without the
Verifying your connection
You should now verify your connection to the MPR, which consists of first verifying the SSH fingerprints for the MPR (which can be found on the MPR homepage while logged out), and then verifying that you actually logged in fine.
To test everything, you can run the following:
On a succesful connection, you should get a message similar to such:
PTY allocation request failed on channel 0 Interactive shell is disabled. Try `ssh email@example.com help` for a list of commands. Connection to mpr.hunterwittenborn.com closed.
Uploading your package
Next, clone the Git repository for the package you'd like to add and copy the PKGBUILD to that directory (replace
pkgname with the name of your package):
Lastly, generate the SRCINFO file, then commit and push the changed files:
1 2 3 4 5