Crates.io | updpkg |
lib.rs | updpkg |
version | 0.2.2 |
source | src |
created_at | 2024-01-08 11:28:06.833711 |
updated_at | 2024-01-27 08:42:43.13806 |
description | A small tool for updating PKGBUILD recipes |
homepage | |
repository | https://github.com/ognevny/updpkg |
max_upload_size | |
id | 1092428 |
size | 17,456 |
a small tool for updating your PKGBUILD recipes
A small tool for updating PKGBUILD recipes
Usage: updpkg.exe [OPTIONS] [DIRECTORY]
Arguments:
[DIRECTORY] path to directory with PKGBUILD [default: .]
Options:
-v, --ver <VERSION> new version of package (tarball)
-m, --make <FLAGS> invoke `makepkg` with optional flags (like you are invoking it manually)
-M, --make-mingw <FLAGS> the same as `make`, but for `makepkg-mingw`
--git <SHA> specify commit SHA
-r, --rm <FILES>... removes files from directory and recipe
--use-sd use sd instead of sed
-h, --help Print help
-V, --version Print version
update checksums for PKGBUILD in current directory
$ updpkg
update checksums, version to 1.1.1 and invoke makepkg-mingw -sc
for directory mingw-w64-dummy
$ updpkg mingw-w64-dummy --ver '1.1.1' --make-mingw='-sc'
remove dummy.patch
from recipe and directory, update checksums and invoke makepkg -sc
for
directory dummy
$ updpkg dummy --rm 'dummy.patch' --make='-sc'
update checksums and commit SHA in recipe for current directory
$ updpkg --git='55932aad9ec31456a0ed8c3488173e8b78113652'
you can use sd (instead of sed) for changing fields. to do so, just pass --use-sd
option. if you
don't need ot at all, you can pass --no-default-features
at build