fordon_greeman / pkger

Branch: 0170f11
Switch branches/tags
main
theidioticdev added gnuit pkg, implemented basic dependencies res, added preview img, TODO 0170f11 1d ago
28 lines · 811 B Code Raw Blame History

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

and to add dependencies, you write for example foo.deps:

# dep1
! <command_to_get>
! <command_to_build>
! <command_to_install>
# and so on for other deps...