fordon_greeman / pkger

an unconventional ports-like package manager written in C

Branch: 02f8442
Switch branches/tags
main
Go to file New pull request
Clone
Clone with HTTPS
recipes feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
LICENSE forgot to add license 28d ago
nob feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
nob.c feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
nob.h feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
pkger feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
pkger.c feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
readme.org feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
recipe.h feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
repos.h feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago
TODO.org feat: use tsoding's nob.h, split repos.h into separate recipes 12d ago

readme.org

pkger

pkger is a really unconventional pkg manager it uses a suckless-like approach to installing pkgs by editiing repos.h like this

static const Repository REPOS[] = 
  {
    /* add your repos here... */
    {
      .name = "sfetch",
      .url = "https://codeberg.org/theidioticdev/sfetch",
      .fetchCmd = "git clone", 
			/* command repo dir" */
			.fetchFmt = "%s %s %s",
      .buildCmd = "./build",
      .installCmd = "./build --install",
      .uninstallCmd = "./build --uninstall"},
    {
      .name = "guix",
      .url = "https://guix.gnu.org/install.sh",
      .fetchFmt = "%s %s -P %s",
      .fetchCmd = "wget",
      .buildCmd = "chmod +x install.sh",
      .installCmd = "./install.sh",
      .uninstallCmd = "./install.sh --uninstall"}
  };