Malachite is a simple yet useful workspace and local repository management tool, made for packagers of Arch Linux based distributions.
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.
 
 
 
 
Go to file
Michal 527507fc62
chore: ver bump
2 years ago
docs Update COMMON_FEATURES.md 2 years ago
examples Fixed issues presented in @axtloss 's testing 2 years ago
src fix: remove contents of dir rather than repo dir 2 years ago
.envrc Ver bump in PKGBUILD 2 years ago
.gitignore reworked examples 2 years ago
.gitlab-ci.yml Fix CI env 2 years ago
Cargo.lock chore: ver bump 2 years ago
Cargo.toml chore: ver bump 2 years ago
LICENSE LICENSE + Fmt 2 years ago
README.md Adding the AUR package to the 'How to build' section. 2 years ago
flake.lock Fixes to Nix flake 2 years ago
flake.nix Fixes to Nix flake 2 years ago

README.md

Logo

Malachite

License GitHub isses GitHub pull requests
Discord The maintainer of this repository
Mastodon Follow Twitter Follow

Malachite is a simple yet useful workspace and local repository management tool, made for packagers of Arch Linux based distributions.

--> Detailed Usage Guide <--

Basic Usage Guide

Action Command
Build a package mlc build <package> [all if left empty]
Generate local repository mlc repo-gen
Update local repos/PKGBUILDs mlc pull/update [all if left empty]
Create and/or open config file mlc conf
Initialises repo/workspace based on config in mlc.toml mlc clone/init
Displays information about a Malachite repository mlc info/status

Pacman Repository Creation

  • mlc config to create the config (and also populate it)
  • mlc init to build repository base from config file
  • mlc build <package> to either build individual packages, or don't specify package names to build all packages in mlc.toml
    • build typically automatically updates the repository unless --no-regen is passed, if so:
  • mlc 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

AUR