fordon_greeman / pkger

an unconventional ports-like package manager written in C

Branch: 451f89f
Switch branches/tags
main
Go to file New pull request
Clone
Clone with HTTPS
theidioticdev chore: forgot to update readme, full rename Latest commit 451f89f 18d ago
bs.sh feat: support more than just git, guix pkg test, port bs from c to shell 18d ago
install.sh feat: support more than just git, guix pkg test, port bs from c to shell 18d ago
LICENSE forgot to add license 28d ago
pkger.c feat: support more than just git, guix pkg test, port bs from c to shell 18d ago
readme.org chore: forgot to update readme, full rename 18d ago
repos.h feat: support more than just git, guix pkg test, port bs from c to shell 18d ago
TODO feat: support more than just git, guix pkg test, port bs from c to shell 18d 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"}
  };