You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e5997de8da | 2 years ago | |
---|---|---|
.devcontainer | 2 years ago | |
examples | 2 years ago | |
src | 2 years ago | |
.envrc | 2 years ago | |
.gitignore | 2 years ago | |
.gitlab-ci.yml | 3 years ago | |
CONTRIBUTING.md | 3 years ago | |
Cargo.lock | 2 years ago | |
Cargo.toml | 2 years ago | |
LICENSE | 2 years ago | |
PKGBUILD | 2 years ago | |
README.md | 2 years ago | |
flake.lock | 2 years ago | |
flake.nix | 2 years ago |
README.md
Malachite
Malachite is a simple yet useful workspace and local repository management tool, made for packagers of Arch Linux based distributions.
Basic usage
Action | Command |
---|---|
Build a package | mlc build <package> |
Generate local repository | mlc repo-gen |
Update local repos/PKGBUILDs | mlc pull/update |
Create and/or open config file | mlc conf |
Initialises repo/workspace based on config in mlc.toml | mlc clone/init |
Pacman Repository Creation
mlc config
to create the config (and also populate it)mlc init
to build repository base from config filemlc build <package>/--all
to either build individual packages or all packages in mlc.tomlmlc repo-gen
to generate functional pacman repository at <name>/<name>.db from built packages
How to build:
Tested on latest Cargo (1.60.0-nightly)
Debug/development builds
cargo build
Optimised/release builds
cargo build --release