How I enden up publishing an AUR package

  • 2 min read

Someone I know posted about this new cute font called Allo. It can transform from a helvetica like serious font to something playful, comic sans like. It has three parameters: heaviness, roundness, and clearness, which affect how it looks. I wanted to install this font and use it for a project of mine. Instead of just downloading it and putting it into my fonts directory, I looked up how to properly install fonts on Arch Linux, which suggested making a package and installing it via the package manager pacman. In order to do so I first needed to learn how to make an Archlinux package. The description in the arch wiki is quite clear. So I mostly followed it and after doing a few things wrong, when I didn't follow the guide, I ended up with a proper package, which installed fine.

To make it easier for other people to also get the font on their machine, I wanted to share the package. This is usually done through the Arch User Repository (AUR). In order to upload a package to the AUR, you need to clone an empty repository from the AUR, commit your packagebuild and push to it. For this to work you need to upload you public ssh-key to "the AUR". When reading the wiki I thought I needed to upload it in the gitlab that is used to manage the AUR, but instead one needs to upload it to your profile on aur.archlinux.org under the My Account section behind the login. The final link you and up is https://aur.archlinux.org/account/<username>/edit the AUR. After uploading your ssh-key there you can clone the repo and push to it.

After uploading my key in the right place, I could finally clone and push to the AUR, and my package(s) (the font is split into three packages for different font-formats) are available as woff2-allo, ttf-allo, and otf-allo