Helpful guide on how to generate PKGBUILD for Arch Linux distributions
Category:Package development, Creating packages, Arch package guidelines, AUR submission guidelines
Arch package guidelines#licenses
makepkg --printsrcinfo > .SRCINFO
namcap PKGBUILD
namcap pkgname.pkg.tar.zst
First run git needs to set the global username information:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git config --global init.defaultBranch main # (trunk, development)
To generate new md5sums run the command updpkgsums:
sudo pacman -S pacman-contrib
- Create an account
- Add your ssh public key
git -c init.defaultbranch=master clone ssh://aur@aur.archlinux.org/pkgbase.git
cd package-git
cp PKGBUILD .SRCINFO (from your package)
git add PKGBUILD .SRCINFO
git commit -m "Initial version"
git push