fordon_greeman / pkger

Branch: 02f8442
Switch branches/tags
main
theidioticdev feat: use tsoding's nob.h, split repos.h into separate recipes 02f8442 13d ago
30 lines · 866 B Code Raw Blame History

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"}
  };