fordon_greeman / pkger

an unconventional ports-like package manager written in C

Branch: b68a1f4
Switch branches/tags
main
Go to file New pull request
Clone
Clone with HTTPS
theidioticdev feat: rewrite pkger, go back to Makefile, and more Latest commit b68a1f4 3d ago
recipes feat: rewrite pkger, go back to Makefile, and more 3d ago
.gitignore feat: rewrite pkger, go back to Makefile, and more 3d ago
LICENSE forgot to add license 28d ago
Makefile feat: rewrite pkger, go back to Makefile, and more 3d ago
pkger feat: rewrite pkger, go back to Makefile, and more 3d ago
pkger.c feat: rewrite pkger, go back to Makefile, and more 3d ago
readme.org feat: rewrite pkger, go back to Makefile, and more 3d ago
recipe.h feat: rewrite pkger, go back to Makefile, and more 3d ago

readme.org

pkger

[WIP] pkger is a really unconventional and bad pkg manager written in C

pkger relies on a fakeroot env it initiates on first run ~/pkger_root and reads from that fakeroot recipes inside ~/pkger_root/etc/recipes to add recipes, you write for example foo.build:

pkg_name      = "foo"
pkg_ver       = "0.0.1"
pkg_fetch     = "wget https://example.com/bar/foo.tar.gz -P ~/pkger_root/tmp/build/foo"
pkg_build     = "<command_to_build>"
pkg_install   = "<command_to_install>"
pkg_uninstall = "<command_to_unins>"