diff options
author | Christian Heusel <christian@heusel.eu> | 2023-07-25 11:19:11 +0200 |
---|---|---|
committer | Christian Heusel <christian@heusel.eu> | 2023-11-20 15:00:21 +0100 |
commit | e7b82f36ef586127453e8c68660e0ef7826d0127 (patch) | |
tree | 844d2e08f360b87350f9854b1daf3773a063399f /contrib | |
parent | 4d7364ed1b893ba8498cf5a46b82413079b1131d (diff) | |
download | devtools-e7b82f36ef586127453e8c68660e0ef7826d0127.tar.xz |
feat(build): add --updpkgsums option
This is useful so people who update patches etc. can update their checksums on building.
The functionality itself was already implemented for --pkgver, but was not available separately.
Fixes #168
Component: pkgctl build
Signed-off-by: Christian Heusel <christian@heusel.eu>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/bash/devtools.in | 1 | ||||
-rw-r--r-- | contrib/completion/zsh/_devtools.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/bash/devtools.in b/contrib/completion/bash/devtools.in index b28258f..e0fca51 100644 --- a/contrib/completion/bash/devtools.in +++ b/contrib/completion/bash/devtools.in @@ -173,6 +173,7 @@ _pkgctl_build_args=( --pkgver --pkgrel --rebuild + --updpkgsums -e --edit -r --release diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in index 49c4113..d3d6df0 100644 --- a/contrib/completion/zsh/_devtools.in +++ b/contrib/completion/zsh/_devtools.in @@ -47,6 +47,7 @@ _pkgctl_build_args=( '--pkgver=[Set pkgver, reset pkgrel and update checksums]:pkgver:' '--pkgrel=[Set pkgrel to a given value]:pkgrel:' '--rebuild[Increment the pkgrel variable]' + '--updpkgsums[Regenerate the checksums]' '(-e --edit)'{-e,--edit}'[Edit the PKGBUILD before building]' '(-r --release)'{-r,--release}'[Automatically commit, tag and release after building]' '(-m --message=)'{-m,--message=}"[Use the given <msg> as the commit message]:message:" |