rustympkg

Crates.iorustympkg
lib.rsrustympkg
version0.1.1
sourcesrc
created_at2020-06-22 23:03:24.325256
updated_at2021-05-08 15:07:15.378089
descriptionReplacement for Arch Linux's makepkg/updpkgsums and similar tools
homepage
repositoryhttps://github.com/Sighery/rustympkg
max_upload_size
id256904
size29,061
(Sighery)

documentation

README

A rusty (and very much incomplete) replacement of Arch Linux's makepkg and similar tools.

This doesn't yet implement actually building pacman packages. I haven't even gotten around to reading how that is done yet, and might just be too complicated to ever bother.

For now all this tool can do is parse a given PKGBUILD (only certain keys, as well), and print a JSON representation of it back into the stdout.

For usage, do:

rustympkg --help

This makes use of the library crate rustympkglib that implements most of the functionality, while this create just offers a binary which provides a CLI with the use of clap.

Near future

In the near future I plan on integrating updpkgsums into this binary (of course most of the code would actually live in rustympkglib).

Currently both makepkg and updpkgsums are too tightly coupled to Arch Linux and don't seem to be able to be installed in other Linux distributions, and updating sums arrays is integral for automating building Arch Linux packages.

Commit count: 30

cargo fmt