User:Zeb/maintain aur

From ArchWiki

Edit PKGBUILD

Update pkgver() if needed (e.g. hardcoded version number), see VCS_package_guidelines#The_pkgver()_function No need to change pkgver= if pkgver() is correctly coded Verify if upstream URL needs to be changed

Generate new checksums if needed

Install pacman-contrib and run the following command in the same directory as the PKGBUILD file to generate new checksums:

$ updpkgsums

updpkgsums uses makepkg --geninteg to generate the checksums. See this forum discussion for more details.

The checksums can also be obtained with e.g sha256sum and added to the sha256sums array by hand.

Check build with makepkg

Regenerate .SRCINFO, commit and push

$ makepkg --printsrcinfo > .SRCINFO
$ git add PKGBUILD .SRCINFO
$ git commit -m "useful commit message"
$ git push