Package Details: vlang-git r620.810e855-1

Git Clone URL: (read-only, click to copy)
Package Base: vlang-git
Description: Simple, fast, safe language created for developing maintainable software
Upstream URL:
Keywords: language programming v vlang
Licenses: MIT
Conflicts: v, vlang
Submitter: whoami
Maintainer: None
Last Packager: whoami
Votes: 0
Popularity: 0.000000
First Submitted: 2019-06-22 17:56
Last Updated: 2019-07-17 22:13

Latest Comments

SpaceToast commented on 2019-07-16 01:58

Here's a patch1 against this repo that produces an optimized and functional v installation. It's also significantly simpler (install() is still awkward but it doesn't look like anyone cares). NOTE: using the Makefile there is fine because we already copied in v.c (making it an up-to-date target, as far as make is concerned).

whoami commented on 2019-06-30 17:07

V still not linux friendly, I'm waiting for changes (VROOT must be deleted from compiler/main.v). Plz use git clone; cd v; make

izolight commented on 2019-06-29 19:48

compiling the compiler from the current dir doesn't seem to work with the c version (./vc -o v .), but doing it from a dir above works ./vc -o v compiler.

whoami commented on 2019-06-24 01:08

should be fixed. I'm crying

whoami commented on 2019-06-23 23:12

broken changes

alfonsodg commented on 2019-06-23 23:02

There is a problem with the package

/usr/lib/vlang not found. Run: git clone ~/code/v ==> ERROR: Se produjo un fallo en build(). Cancelando... Error making: vlang-git

whoami commented on 2019-06-23 19:55

I've update it

jgmdev commented on 2019-06-23 18:31

Temporary fix for PKGBUILD

# Maintainer: whoami <>

pkgdesc='Simple, fast, safe language created for developing maintainable software'
depends=('glfw' '' '')

pkgver() {
  cd "v"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

build() {
    cd v


    sed \
        "s|os__home_dir(), tos2(\"/code/v/\")|tos2(\"${curren_lib}\"), tos2(\"/\")|g" \
        ../v.c \
        > ./compiler/v.c

    cd compiler

    clang -w -o vc v.c

    sed -i \
        "s|mut lang_dir = os.home_dir() + '/code/v/'|mut lang_dir = '/usr/lib/v/'|g" \

    ./vc -o v .

package() {
    cd "${srcdir}/v"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    install -Dm755 compiler/v "$pkgdir/usr/bin/v"
    install -d "$pkgdir/usr/lib/v"
    cp -a * "$pkgdir/usr/lib/v/"
    rm "$pkgdir/usr/lib/v/compiler/vc" "$pkgdir/usr/lib/v/compiler/v.c"
    cp "${srcdir}/v.c" "$pkgdir/usr/lib/v/compiler/v.c"

whoami commented on 2019-06-23 15:06

there is a hardcoded path '~/code/v', waiting for it to be fixed in the source