summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsonka Mihaly2019-11-19 19:54:45 +0100
committerCsonka Mihaly2019-11-19 19:54:45 +0100
commit82ed32113c06ef063cc0ea6a4be8ddfcd7edfc41 (patch)
tree18d62220423addd5d1a9864c8f8213cd23e8cb34
parente8df48ce1cea2bf4ff30508083d2b23b1179031d (diff)
downloadaur-82ed32113c06ef063cc0ea6a4be8ddfcd7edfc41.tar.gz
Update pkg 19112019
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD17
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1d1f2389188..463fa7096d2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rust-analyzer-vscode-git
pkgdesc = An experimental Rust compiler front-end for IDEs (VSCode installation).
- pkgver = r4319.8de56ec4
- pkgrel = 2
+ pkgver = r5799.0e61ba37
+ pkgrel = 1
url = https://github.com/rust-analyzer/rust-analyzer/
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index acd1552500f..20b2a16d1d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Kibouo <csonka.mihaly@hotmail.com>
pkgname=rust-analyzer-vscode-git
-pkgver=r4319.8de56ec4
-pkgrel=2
+pkgver=r5799.0e61ba37
+pkgrel=1
pkgdesc='An experimental Rust compiler front-end for IDEs (VSCode installation).'
arch=('any')
url='https://github.com/rust-analyzer/rust-analyzer/'
@@ -19,6 +19,7 @@ pkgver() {
build() {
cd $pkgname
+ rustup install stable
cargo +stable build --release
cd ./editors/code
@@ -26,11 +27,11 @@ build() {
}
package() {
- cd $pkgname
- install -D -m755 "$srcdir/$pkgname/target/release/ra_lsp_server" "$pkgdir/usr/bin/ra_lsp_server"
- install -D -m755 "$srcdir/$pkgname/target/release/ra_cli" "$pkgdir/usr/bin/ra_cli"
+ cd $pkgname
+ install -D -m755 "$srcdir/$pkgname/target/release/ra_lsp_server" "$pkgdir/usr/bin/ra_lsp_server"
+ install -D -m755 "$srcdir/$pkgname/target/release/ra_cli" "$pkgdir/usr/bin/ra_cli"
- cd ./editors/code
- ./node_modules/vsce/out/vsce package
- code --install-extension ./ra-lsp-0.0.1.vsix
+ cd ./editors/code
+ ./node_modules/vsce/out/vsce package
+ code --install-extension ./ra-lsp-0.0.1.vsix
}