summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCsonka Mihaly2020-02-05 00:45:50 +0100
committerCsonka Mihaly2020-02-05 00:49:14 +0100
commitd20e339e2aafc1995c045885c0d13b4553feb357 (patch)
treebbc4740a42d59bcdf3c57d9677b0c520af19074c /PKGBUILD
parent4e3171dc300f5aa217792940d3c708c38ab68eb6 (diff)
downloadaur-rust-analyzer-vscode-git.tar.gz
Copy binaries to /usr/bin
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c9689b6540e..d250918c823 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Kibouo <csonka.mihaly@hotmail.com>
pkgname=rust-analyzer-vscode-git
pkgver=r7300.c9e1aab88
-pkgrel=1
+pkgrel=2
pkgdesc='An experimental Rust compiler front-end for IDEs (VSCode installation).'
arch=('any')
url='https://github.com/rust-analyzer/rust-analyzer/'
@@ -18,7 +18,7 @@ pkgver() {
}
build() {
- cd $pkgname
+ cd "${pkgname}"
rustup update
rustup install stable
cargo +stable build --release
@@ -26,6 +26,7 @@ build() {
}
package() {
- cd $pkgname
+ cd "${pkgname}"
cargo xtask install
+ install -D -m755 ~/.cargo/bin/ra_lsp_server "${pkgdir}/usr/bin/ra_lsp_server"
}