summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2c2e6da68ee7fe84d720c1f18e4ef2b6c8889944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Sergey A. <murlakatamenka@disroot.org>

pkgname=rust-analyzer-bin
pkgver=20200113
_pkgver='2020-01-13'
pkgrel=1
pkgdesc="An experimental Rust compiler front-end for IDEs. Binary build."
arch=('x86_64')
url="https://github.com/rust-analyzer/rust-analyzer"
license=('MIT' 'Apache')
provides=('rust-analyzer')
conflicts=('rust-analyzer' 'rust-analyzer-git' 'rust-analyzer-vscode-git')
source=("ra_lsp_server::$url/releases/download/$_pkgver/ra_lsp_server-linux")
md5sums=('0be102a3e9afb84683257c6e32199879')

pkgver() {
    echo ${_pkgver//-}
}

package() {
    cd "$srcdir"
    install -Dm 755 "ra_lsp_server" -t "$pkgdir/usr/bin/"
}