mkpk

Систем за управљање пакетима који користи mk из система Plan9
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување a6ddcde04f6f783ebe16c572a8a63f3be17e4ee8
родитељ 555397c7fab30b00daba96e5128cbe958c8d749b
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Thu,  4 Aug 2022 13:39:18 +0200

Reorganize README; add info about listing all installed tarballs

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
MREADME | 36+++++++++++++++++++++---------------
измењених датотека: 1, додавања: 21(+), брисања: 15(-)

diff --git a/README b/README @@ -20,8 +20,26 @@ Installation # mk install -Usage ------ +mkpk helper usage (for admins/users) +------------------------------------ + +# mkpk update # Pulls the galeb-mkfiles repository +# mkpk fetch foo # fetches the sources of foo to SRCBASEDIR +# mkpk build foo # builds the foo tarball and puts it into PKGDIR +# mkpk install foo # installs the built tarball +# mkpk list foo # lists files in the installed tarball +# mkpk info foo # show information about the installed tarball +# mkpk uninstall foo # uninstalls the package using the installed + # tarball as a filelist + +With table[5]: + +$ tsvtable /pkg/pkgdb.tsv # Displays a nicely formatted table of all + # installed tarballs and their versions + + +Usage in your projects (for hackers) +------------------------------------ $ cd /path/to/project $ cat <<! >mkfile @@ -42,20 +60,8 @@ $ mk package # creates mypackage-1.2.3.{tar.xz,sha512} $ doas mk package-install # installs the above to PKGDIR -mkpk helper usage ------------------ - -# mkpk update # Pulls the galeb-mkfiles repository -# mkpk fetch foo # fetches the sources of foo to SRCBASEDIR -# mkpk build foo # builds the foo tarball and puts it into PKGDIR -# mkpk install foo # installs the built tarball -# mkpk list foo # lists files in the installed tarball -# mkpk info foo # show information about the installed tarball -# mkpk uninstall foo # uninstalls the package using the installed - # tarball as a filelist - - [1]: https://proot-me.github.io/ [2]: https://tools.suckless.org/sbase/ [3]: https://git.sr.ht/~strahinja/sbase/tree/master/item/patches/0001-Add-n-equivalent-of-no-recursion.patch [4]: https://tools.suckless.org/9base/ +[5]: https://git.sr.ht/~strahinja/table/