mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 20:52:55 +01:00
806 B
806 B
-
Update Version Edit the PKGBUILD and update the pkgver variable to the new release version (e.g., 1.14.0).
-
Automate Checksums Run updpkgsums. This tool downloads the new files and automatically replaces the old hashes in your PKGBUILD.
updpkgsums
Note: This requires the pacman-contrib package.
- Sync Metadata Update the .SRCINFO file to match your PKGBUILD changes.
makepkg --printsrcinfo > .SRCINFO
- Test the Build (Optional but Recommended) Verify that the package builds and installs correctly with the new versioned binary naming.
makepkg -sic
- Cleanup & Deploy Clean up the downloaded source files and push your changes to the AUR.
git add PKGBUILD .SRCINFO
git commit -m "Update to v$(grep -oP '(?<=pkgver=).*' PKGBUILD)"
git push