fordon_greeman / pkger

Branch: 451f89f
Switch branches/tags
main
theidioticdev chore: forgot to update readme, full rename 451f89f 18d ago
31 lines · 861 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"}
  };