summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD19
2 files changed, 14 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96da7de5333..c86f43de2b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = vim-asyncomplete-lsp-git
pkgdesc = LSP source for asyncomplete.vim vim-lsp
- pkgver = r26.5c470ae
+ pkgver = r30.684c344
pkgrel = 1
url = https://github.com/prabirshrestha/asyncomplete-lsp.vim.git
arch = any
groups = vim-plugins
- license = Custom
+ license = MIT
+ makedepends = git
depends = vim
- depends = vim-asyncomplete-git
- source = asyncomplete-lsp.vim::git+https://github.com/prabirshrestha/asyncomplete-lsp.vim.git
+ depends = vim-asyncomplete
+ source = git+https://github.com/prabirshrestha/asyncomplete-lsp.vim.git
sha512sums = SKIP
pkgname = vim-asyncomplete-lsp-git
diff --git a/PKGBUILD b/PKGBUILD
index df70f4a4cc0..4f3402b36eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,24 @@
-# Maintainer: Wilson E. Alvarez <wilson.e.alvarez1@gmail.com>
+# Maintainer: Max Gautier <mg+archlinux@max.gautier.name>
+# Contributor: Wilson E. Alvarez <wilson.e.alvarez1@gmail.com>
# Contributor: Rodrigo Gryzinski <rogryza@gmail.com>
_pkgname=asyncomplete-lsp.vim
pkgname=vim-asyncomplete-lsp-git
-pkgver=r26.5c470ae
+pkgver=r30.684c344
pkgrel=1
pkgdesc="LSP source for asyncomplete.vim vim-lsp"
arch=('any')
url="https://github.com/prabirshrestha/${_pkgname}.git"
-license=('Custom')
-depends=('vim' 'vim-asyncomplete-git')
+license=('MIT')
+depends=('vim' 'vim-asyncomplete')
+makedepends=('git')
groups=('vim-plugins')
-source=("${_pkgname}::git+$url")
+source=("git+$url")
sha512sums=('SKIP')
pkgver()
{
- cd "$srcdir/$_pkgname"
+ cd "$_pkgname"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
@@ -24,10 +26,7 @@ pkgver()
}
package() {
- cd "$srcdir/$_pkgname"
-
- # TODO: Install license when available -- see https://github.com/prabirshrestha/asyncomplete-lsp.vim/issues/31
- #install -Dm 644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+ cd "$_pkgname"
# Install vimfiles
local vimfiles="$pkgdir/usr/share/vim/vimfiles"