# Compiling Time: 0.16 SBU # Maintainer: DeX77 pkgname=vlang pkgver=0.2.2 pkgrel=1 pkgdesc='Simple, fast, safe, compiled language for developing maintainable software' archs=('x86_64') groups=('devel-extra') url='https://vlang.io' depends=('glibc') makedepends=('libatomic' 'git') _F_github_author="$pkgname" _F_github_name=v _F_github_tag=y _F_github_grepv=weekly Finclude github source+=("https://github.com/vlang/v/releases/download/${pkgver}/v_linux.zip") sha1sums=('2516a7e0d4cb11112809361f36b364280829c38c' \ '1ee09b3dea84ac4329e17aab8fc9b51f5bf39787') _F_cd_path="v-$pkgver" build() { unset LDFLAGS Fcd Fexec ../v/v -prod self || Fdie Fexec ../v/v build-tools || Fdie Fmkdir usr/lib/vlang/ Fmkdir usr/share/vlang/ Fcprel cmd usr/lib/vlang/ Fcprel examples usr/share/vlang/ Fcprel thirdparty usr/lib/vlang/ Fcprel vlib usr/lib/vlang/ Fcprel v.mod usr/lib/vlang/ Fln /usr/lib/vlang/v usr/bin/v touch "$Fdestdir/usr/lib/vlang/cmd/tools/.disable_autorecompilation" } # optimization OK