diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-07-10 10:49:55 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-07-10 10:49:55 +0000 |
| commit | 9ea4e05127e7aaf79a58f98076288b25973e949f (patch) | |
| tree | 38e526e572e48a4c9e9cf08d6d1a6dabacb893c9 /.config/pkgit/repos/v.lua | |
| parent | dd03d22b6605aa26ceb9d2fbaf9b24c4ceb0e0fb (diff) | |
backup
Diffstat (limited to '.config/pkgit/repos/v.lua')
| -rw-r--r-- | .config/pkgit/repos/v.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/pkgit/repos/v.lua b/.config/pkgit/repos/v.lua new file mode 100644 index 0000000..aa2f9c2 --- /dev/null +++ b/.config/pkgit/repos/v.lua @@ -0,0 +1,30 @@ +return { + url = "https://github.com/vlang/v", + targets = { + default = { + build = function() + print("hello") + return os.execute("make") + end, + install = function() + print("hello") + return os.execute("./v symlink "..install_directories.bin) + end, + uninstall = function() + print("hello") + return os.execute("rm "..install_directories.bin.."/v") + end, + }, + --quiet = { + -- build = function() + -- return os.execute("make &> /tmp/pkgit_build.log") + -- end, + -- install = function() + -- return os.execute("./v symlink "..install_directories.bin.." &> /tmp/pkgit_build.log") + -- end, + -- uninstall = function() + -- return os.execute("rm "..install_directories.bin.."/v &> /tmp/pkgit_build.log") + -- end, + --}, + }, +} |
