Arch Linux AUR PKGBUILD generate new checksums
Published: 29-12-2014 | Author: Remy van Elst | Text only version of this article
❗ This post is over nine years old. It may no longer be up to date. Opinions may have changed.
The AUR is a nice feature from Arch Linux, it allows anyone to create and upload
a simple package build script, PKGBUILD, for a piece of software which is not in
the repositories. Sometimes however, the PKGBUILD is outdated. You then need to
manually fix it, by changing the download link or version. With a new version
you get new checksums, and the
makepkg command has a neat feature which
generates the checksums for you.
Recently I removed all Google Ads from this site due to their invasive tracking, as well as Google Analytics. Please, if you found this content useful, consider a small donation using any of the options below:
I'm developing an open source monitoring app called Leaf Node Monitoring, for windows, linux & android. Go check it out!
Consider sponsoring me on Github. It means the world to me if you show your appreciation and you'll help pay the server costs.
You can also sponsor me by getting a Digital Ocean VPS. With this referral link you'll get $100 credit for 60 days.
After you have updated your
PKGBUILD you can get new checksums with the
makepkg -g -f -p PKGBUILD
PKGBUILD is the actual PKGBUILD file with incorrect md5sums.
newrelic-php5 in this example:
==> Retrieving sources...
-> Found newrelic-php5-126.96.36.199-linux.tar.gz
-> Found newrelic-daemon.service
-> Found .install
==> Generating checksums for source files...
PKGBUILD file with the new checksums and you are ready to try a new