summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhe Park2021-03-28 10:42:11 +0800
committerSainnhe Park2021-03-28 10:42:11 +0800
commit61bc626e7a0c7eeb3852d4653ecb3c891fd9fe93 (patch)
treeb70264651846880555eb591d1f44722f60fbc426 /PKGBUILD
parent133ef5aff5be48ffda5bce151e1162fe91fd0840 (diff)
downloadaur-61bc626e7a0c7eeb3852d4653ecb3c891fd9fe93.tar.gz
Add gopls as depends
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2f6b68e9b40..6e16c48bf8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,13 +9,15 @@ pkgname="${_variant}-${_extname}-git"
provides=("${_variant}-${_extname}")
conflicts=("${_variant}-${_extname}")
arch=('any')
-depends=("${_variant}-coc")
+depends=("${_variant}-coc" 'gopls')
makedepends=('yarn' 'git')
license=('MIT')
-source=("${_extname}::git+${url}.git")
-pkgver=0.9.2.r2.g6d13daa
+source=("${_extname}::git+${url}.git"
+ 'package.json.patch')
+pkgver=0.13.3.r6.ga0e68ff
pkgrel=1
-sha256sums=('SKIP')
+sha256sums=('SKIP'
+ 'c694b3c9def3ddb1bce2dfcef6721a43a9458e96c117e9a2ba911e4b4bfd492b')
pkgver() {
cd "${srcdir}/${_extname}"
@@ -39,5 +41,6 @@ package() {
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
rm -rf "${srcdir}/${_extname}/package"
find "$pkgdir" -name package.json -print0 | xargs -r -0 sed -i '/_where/d'
+ patch "$pkgdir/$_packdir/package.json" <"$srcdir/package.json.patch"
chown -R root:root "${pkgdir}"
}