Date: Wednesday, January 20, 2021 @ 20:37:08 Author: foxboron Revision: 823996
archrelease: copy trunk to community-x86_64 Added: gopls/repos/community-x86_64/PKGBUILD (from rev 823995, gopls/trunk/PKGBUILD) Deleted: gopls/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-20 20:37:01 UTC (rev 823995) +++ PKGBUILD 2021-01-20 20:37:08 UTC (rev 823996) @@ -1,33 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Chad Kunde <kund...@gmail.com> - -pkgname=gopls -pkgver=0.6.3 -pkgrel=1 -pkgdesc='Language server for Go programming language' -arch=(x86_64 aarch64 armv7h armv7l) -url='https://github.com/golang/tools/tree/master/gopls' -license=(BSD) -depends=(glibc) -makedepends=('git' 'go') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/tools/archive/gopls/v${pkgver}.tar.gz") -sha256sums=('fa50bbd02cadf8e45617a51f51379e22a67c9f1cada201cf01cb0750f7bb2a69') - -build() { - cd "tools-${pkgname}-v${pkgver}/${pkgname}" - - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - go build -o "${pkgname}" -} - -package() { - cd "tools-${pkgname}-v${pkgver}" - install -Dm755 "${pkgname}/${pkgname}" -t "${pkgdir}"/usr/bin/ - install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" -} - -# vim: ts=2 sw=2 et: Copied: gopls/repos/community-x86_64/PKGBUILD (from rev 823995, gopls/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-20 20:37:08 UTC (rev 823996) @@ -0,0 +1,33 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Chad Kunde <kund...@gmail.com> + +pkgname=gopls +pkgver=0.6.4 +pkgrel=1 +pkgdesc='Language server for Go programming language' +arch=(x86_64 aarch64 armv7h armv7l) +url='https://github.com/golang/tools/tree/master/gopls' +license=(BSD) +depends=(glibc) +makedepends=('git' 'go') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/tools/archive/gopls/v${pkgver}.tar.gz") +sha256sums=('4e90f083d3659a0640538e3e4b047b8474de5c9a69525e535b840281734fc3a5') + +build() { + cd "tools-${pkgname}-v${pkgver}/${pkgname}" + + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" + go build -o "${pkgname}" +} + +package() { + cd "tools-${pkgname}-v${pkgver}" + install -Dm755 "${pkgname}/${pkgname}" -t "${pkgdir}"/usr/bin/ + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" +} + +# vim: ts=2 sw=2 et: