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