summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSainnhe Park2021-03-28 09:44:26 +0800
committerSainnhe Park2021-03-28 09:44:26 +0800
commitc510b875e7e8864968ae782b325f5807ee21d5e7 (patch)
tree34739c51eb225ce8ed53ea865f72bd2dee2956b6 /PKGBUILD
parent56276c59f8cc18e44738b9d5e621ae5f94b6e4f7 (diff)
downloadaur-vim-coc-java-git.tar.gz
Fix depends
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cc3a3981e26..ff0fa649d57 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" 'java-runtime-headless')
makedepends=('yarn' 'npm' 'git')
license=('EPL')
-source=("${_extname}::git+${url}.git")
-pkgver=1.5.0.r0.g281d9e0
+source=("${_extname}::git+${url}.git"
+ 'package.json.patch')
+pkgver=1.5.3.r2.g64ab35d
pkgrel=1
-sha256sums=('SKIP')
+sha256sums=('SKIP'
+ '013e5a469c6cada8baca2bf7feca967faeb7aac043c919332959e816e16634a5')
pkgver() {
cd "${srcdir}/${_extname}"
@@ -40,5 +42,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}"
}