DEV Community

Shresth Paul
Shresth Paul

Posted on

How I Updated an Arch Linux AUR Package (PySpread Example)

Recently, I noticed that the AUR package for Pyspread was outdated. Here’s the quick process I followed to update it — useful if you want to maintain AUR packages yourself.

  • Clone the package repo
git clone ssh://aur@aur.archlinux.org/pyspread.git
cd pyspread
Enter fullscreen mode Exit fullscreen mode
  • Update PKGBUILD
Set pkgver=2.4

Update the source tarball from PyPI

Replace sha256sums
Enter fullscreen mode Exit fullscreen mode
  • Regenerate .SRCINFO
makepkg --printsrcinfo > .SRCINFO

Enter fullscreen mode Exit fullscreen mode
  • Test build locally
makepkg -si

Enter fullscreen mode Exit fullscreen mode
  • Commit & push
git add PKGBUILD .SRCINFO
git commit -m "Update to version 2.4"
git push

Enter fullscreen mode Exit fullscreen mode

✅ Done! The package is now updated on the AUR: https://aur.archlinux.org/packages/pyspread

Why this matters:
The Arch ecosystem relies heavily on community maintainers. Even small contributions like package version bumps ensure users get the latest software seamlessly.

Top comments (0)