From cb0e12756fa760a362710739cc924c47d8b6d996 Mon Sep 17 00:00:00 2001 From: diviocity Date: Thu, 12 Nov 2026 16:52:50 +0000 Subject: [PATCH] update README --- README.md | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 2e195dd..a7044ff 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## introduction -[vpac](https://vpac.vorelabs.dev/) is a *versatile* package manager using the native V engine in [alpm.v](https://git.vorelabs.dev/diviocity/alpm.v), following pacman/libalpm behavior. +[vpac](https://vpac.vorelabs.dev/) is a *versatile* package manager using [alpm](https://git.vorelabs.dev/vorelabs/alpm), following pacman/libalpm behavior. ## features @@ -14,29 +14,44 @@ vpac not only posses full pacman parity, but also extends on top of it: - a json event protocol for other frontends (`--ui ipc`) - config file, written in [blip](https://git.vorelabs.dev/vorelabs/blip), that allows for powerful configuration -## quick start +## installation + +#### prerequisites + +[V](https://vlang.io/) (latest git), +[alpm](https://git.vorelabs.dev/vorelabs/alpm), +[blip](https://git.vorelabs.dev/vorelabs/blip) -Clone this repository, then: ```sh -./install.vsh # asks a few questions, writes /etc/vpac.d/config.lip -v . -o vpac # builds vpac into ./vpac +# clone the repository +git clone https://git.vorelabs.dev/vorelabs/vpac +cd vpac + +# asks a few questions, writes /etc/vpac.d/config.lip +./install.vsh + +# builds vpac into ./vpac +v . -o vpac + +# link vpac to /usr/local/bin/vpac ln -sf $PWD/vpac /usr/local/bin/vpac -vpac k -w # ranks the mirrors for your system into the config's mirror file -vpac s -r linux-lts # search the sync databases + +# ranks the mirrors for your system into the config's mirror file +vpac k -w + +# search the sync databases +vpac s -r linux-lts + ``` `install.vsh` also asks whether to keep vpac's database, cache, keys and hooks in pacman's directories, whether to add the distro's repo of 32-bit libraries (`multilib` on arch, `lib32` on artix), and whether to turn alpm.v's download sandbox off. -Answer no to the first only if you mean to keep vpac's state apart from -pacman's: a separate database does not know the packages pacman installed. -Building needs the V compiler, `v`. It also needs the `alpm` and `blip` -modules, which V finds under its module directory. The native `alpm` backend -uses libarchive, libcurl, GPGME/GnuPG, libseccomp on Linux and libc. -Production builds do not require libalpm headers or library. +answer no to the first only if you mean to keep vpac's state apart from +pacman's: a separate database does not know the packages pacman installed. `v test src` and `v test vmakepkg` run the test suites. @@ -55,7 +70,7 @@ see the [wiki](https://git.vorelabs.dev/vorelabs/vpac/wiki) an honest assessment of vpac's state: +- [X] fully independent from upstream libalpm - [X] good enough to keep along pacman - [ ] can fully replace pacman - [ ] can be installed on any compatible OS -- [ ] fully independent from upstream libalpm -- 2.56.1