LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

updpkgsums

Update source checksums in Arch PKGBUILD files

TLDR

Update checksums in PKGBUILD in the current directory
$ updpkgsums
copy
Update checksums in a specific PKGBUILD file
$ updpkgsums [path/to/PKGBUILD]
copy
Update checksums without colored output
$ updpkgsums -m
copy
Display help
$ updpkgsums -h
copy

SYNOPSIS

updpkgsums [OPTIONS] [build file]

DESCRIPTION

updpkgsums performs an in-place update of the checksums in a PKGBUILD file. It downloads the sources (if needed) and calculates new checksums, updating the PKGBUILD file. Defaults to the PKGBUILD in the current directory if no file is specified.
Unless a preexisting hashing algorithm is already specified in the PKGBUILD, SHA256 will be used for the new checksums.

PARAMETERS

-h, --help

Display help information.
-m, --nocolor
Do not colorize output.
-V, --version
Display version information.

CAVEATS

Arch Linux specific. Must be run in directory containing PKGBUILD. Downloads sources if not already cached. Network access required for remote sources.

SEE ALSO

makepkg(8), pacman(8)

Copied to clipboard
Kai