● Publishing to AUR
First time only:
- Create an account at https://aur.archlinux.org and register your SSH key
- Clone the (empty) AUR package repo:
git clone ssh://aur@aur.archlinux.org/your-repo.git
Every release:
- Run gradle build_all
- Upload your-repo${version}.tar to GitHub Releases (tag must match
the version, e.g. 1.3.0) - Copy the generated files into the AUR clone:
cp dist/AUR/PKGBUILD dist/AUR/.SRCINFO ~/home/user/your-aurgit-folder - Commit and push:
cd ~/home/user/your-aurgit-folder
git add PKGBUILD .SRCINFO
git commit -m “Update to ${version}”
git push or