Merge pull request 'Update to newest V version' (#260) from Chewing_Bever/vieter:v-update into dev

Reviewed-on: vieter-v/vieter#260
main
Jef Roosens 2022-06-22 21:00:34 +02:00
commit 1b7cabdd74
4 changed files with 12 additions and 4 deletions

View File

@ -96,6 +96,14 @@ SigLevel = Optional
Afterwards, you can update your system & install the `vieter` package for the Afterwards, you can update your system & install the `vieter` package for the
latest official release or `vieter-git` for the latest development release. latest official release or `vieter-git` for the latest development release.
### AUR
If you prefer building the packages locally (or on your own Vieter instance),
there's the `[vieter](https://aur.archlinux.org/packages/vieter)` &
`[vieter-git](https://aur.archlinux.org/packages/vieter-git)` packages on the
AUR. These packages build using the `vlang-git` compiler package, so I can't
guarantee that a compiler update won't temporarily break them.
## Building from source ## Building from source
The project [README](https://git.rustybever.be/vieter/vieter#building) contains The project [README](https://git.rustybever.be/vieter/vieter#building) contains

View File

@ -4,7 +4,7 @@
#include "archive.h" #include "archive.h"
struct C.archive {} pub struct C.archive {}
// Create a new archive struct for reading // Create a new archive struct for reading
fn C.archive_read_new() &C.archive fn C.archive_read_new() &C.archive
@ -71,7 +71,7 @@ fn C.archive_filter_code(&C.archive, int) int
#include "archive_entry.h" #include "archive_entry.h"
struct C.archive_entry {} pub struct C.archive_entry {}
// Create a new archive_entry struct // Create a new archive_entry struct
fn C.archive_entry_new() &C.archive_entry fn C.archive_entry_new() &C.archive_entry

View File

@ -3,7 +3,7 @@ module db
import sqlite import sqlite
import time import time
struct VieterDb { pub struct VieterDb {
conn sqlite.DB conn sqlite.DB
} }

View File

@ -4,7 +4,7 @@ import os
import util import util
// Represents a read archive // Represents a read archive
struct Pkg { pub struct Pkg {
pub: pub:
path string [required] path string [required]
info PkgInfo [required] info PkgInfo [required]