Date: Saturday, January 22, 2022 @ 12:13:37 Author: foxboron Revision: 1113430
archrelease: copy trunk to community-x86_64 Added: gopls/repos/community-x86_64/PKGBUILD (from rev 1113429, gopls/trunk/PKGBUILD) Deleted: gopls/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-22 12:13:30 UTC (rev 1113429) +++ PKGBUILD 2022-01-22 12:13:37 UTC (rev 1113430) @@ -1,33 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Chad Kunde <kund...@gmail.com> - -pkgname=gopls -pkgver=0.7.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=('7ce445846ffb0a33faed244206b142f9d307f326a35d09d18c6267538203bcf7') - -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 1113429, gopls/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-22 12:13:37 UTC (rev 1113430) @@ -0,0 +1,33 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Chad Kunde <kund...@gmail.com> + +pkgname=gopls +pkgver=0.7.5 +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=('b5f5881dc6b73aed1023634f6f524bde0301bff22d183d97682adcb0ce94c575') + +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: