Simon Zimmermann: Aur Package-Update

2009-12-11

Aur Package-Update

I always forget how to do this. I use the netbeans-se version for Java programming at the uni. It’s handy to use this as it is what everyone else is programming in. I maintain the package for this netbeans version on the Arch Linux AUR(unsupported community repo). But I tend to forget how to do the update process. Each time I have to find out, again.

So, here are my notes for future updates:

  1. Download the new source code from the desired mirror and put it in the same folder as your PKGBUILD file.
  2. Edit PKGBUILD; remove md5sums if it’s there. Change source to correct URI. Increment pkgrel and pkgver.
  3. Rembember to update any .desktop files if you have.
  4. Run # makepkg -g >> PKGBUILD to add md5sums to the end of the PKGBUILD file.
  5. (Run # makepkg to create a .tar file ready to install for pacman.)
  6. Run # makepkg --source to create a .tar file for use on submit/update on AUR.
  7. Update AUR and use # yaourt -S pkgname to test and update the new pkg.