Commit fd383782 authored by Michał Polański's avatar Michał Polański
Browse files

testing/gopls: upgrade to 0.6.11

parent 158a290e
# Contributor: David Florness <david@florness.com>
# Maintainer: David Florness <david@florness.com>
pkgname=gopls
pkgver=0.6.10
pkgver=0.6.11
pkgrel=0
pkgdesc="Language server for Go programming language"
url="https://github.com/golang/tools/blob/master/gopls"
license="BSD-3-Clause"
arch="all"
options="chmod-clean"
makedepends="go>=1.12"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/golang/tools/archive/gopls/v$pkgver.tar.gz"
builddir="$srcdir/tools-$pkgname-v$pkgver/$pkgname"
export GOPATH="$srcdir"
check() {
cd "test"
cd test
go test
}
build() {
go build -o "$pkgname" -trimpath
go build -trimpath -o dist/gopls
}
package() {
install -Dm755 "$builddir/$pkgname" -t "$pkgdir"/usr/bin/
install -Dm755 dist/gopls "$pkgdir"/usr/bin/gopls
}
sha512sums="e632296fc5401b788a5e45073ae33a90bee2781a2bf168391ac28620e186ebe37670ccb77a07bcb2f08edf32561252f6f36a2379756bf1de42b9bdce47c20d64 gopls-0.6.10.tar.gz"
sha512sums="
ee6cff70753ee2835a781f61de15b03957331be0fc874a22f5e4e31e14b41ce0f29b316118a12b3b27d857fc2e0c07ceac5ebbd62a0adabb658a98cd175bec61 gopls-0.6.11.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment