I've update it
Search Criteria
Package Details: vlang-git 0.4.5.r93.ga1d4712b0b-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/vlang-git.git (read-only, click to copy) |
---|---|
Package Base: | vlang-git |
Description: | Simple, fast, safe, compiled language for developing maintainable software (development version) |
Upstream URL: | https://vlang.io |
Keywords: | language programming v vlang |
Licenses: | MIT |
Conflicts: | v, vlang, vlang-bin |
Provides: | vlang |
Submitter: | whoami |
Maintainer: | Chewing_Bever |
Last Packager: | Chewing_Bever |
Votes: | 2 |
Popularity: | 0.083841 |
First Submitted: | 2019-06-22 17:56 (UTC) |
Last Updated: | 2024-04-10 14:01 (UTC) |
Dependencies (6)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- libx11 (libx11-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR) (optional) – Needed for graphics support
- glfw (glfw-wayland-minecraft-cursorfixAUR, glfw-gitAUR) (optional) – Needed for graphics support
- openssl (openssl-gitAUR, openssl-staticAUR) (optional) – Needed for http support
Required by (10)
- compass-status-git (requires vlang) (make)
- crepl-git (requires vlang) (make)
- v-analyzer-bin (requires vlang)
- v-analyzer-git (requires vlang)
- vasteroids-git (make)
- ved-git (make)
- vieter (requires vlang) (make)
- vieter-git (requires vlang) (make)
- vlang-coreutils-git (requires vlang) (make)
- vlogsolv (requires vlang) (make)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3
whoami commented on 2019-06-23 19:55 (UTC)
jgmdev commented on 2019-06-23 18:31 (UTC)
Temporary fix for PKGBUILD
# Maintainer: whoami <whoami@systemli.org>
pkgname=vlang-git
pkgver=r44.4e24681
pkgrel=1
pkgdesc='Simple, fast, safe language created for developing maintainable software'
arch=('x86_64')
url='https://vlang.io'
license=('MIT')
depends=('glfw' 'libfreetype.so' 'libcurl.so')
conflicts=('v')
source=('git+https://github.com/vlang/v.git'
'https://vlang.io/v.c')
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd "v"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd v
curren_lib="$(pwd)"
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" \
main.v
./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 (UTC)
there is a hardcoded path '~/code/v', waiting for it to be fixed in the source
Pinned Comments
Chewing_Bever commented on 2022-08-07 07:30 (UTC)
I have disabled the
v up
command, as it can break the installed package.v up
changes the files in the resulting package after installation, meaning Pacman can't properly track its contents anymore.If you wish to update your installation to the latest version, update this package instead.