Crates.io | rustympkglib |
lib.rs | rustympkglib |
version | 0.1.1 |
source | src |
created_at | 2020-06-20 23:28:02.495135 |
updated_at | 2021-05-08 13:57:07.608371 |
description | Library for dealing with Arch Linux's PKGBUILD and makepkg |
homepage | |
repository | https://github.com/Sighery/rustympkglib |
max_upload_size | |
id | 256113 |
size | 48,811 |
A rusty (and very much incomplete) crate library for dealing with Arch
Linux's PKGBUILD
files and implement some of makepkg
's (or related tools)
functionality.
So far this crate can only parse certain key variables and arrays in a PKGBUILD file. It can't actually do anything with the data other than display it as of now. In the near future variables should be editable, and any edit should be written back into the PKGBUILD file.
This is a library crate, a CLI tool resembling makepkg
called rustympkg
that makes use of this library's code for its functionality (found it easier
to separate concerns and dependencies this way) is also available. Check the
CLI tool's README for more information on its status and what it can do so
far.
This being the case, and with the current limitations, the usage is mostly up to you. There's the docs.rs documentation, and some examples of usage can be seen in the unit tests in the code.