correct pkgver function and version bump deoplete-git

This commit is contained in:
Trent Palmer 2018-11-20 00:28:33 -08:00
parent 6e6fdb55c4
commit dd2022f328
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
pkgbase = deoplete-git
pkgdesc = deoplete completion plugin for neovim
pkgver = r1493.04ea041
pkgver = r1524.2ead0d5
pkgrel = 1
url = https://github.com/Shougo/deoplete.nvim
install = deoplete.install

View File

@ -11,7 +11,7 @@ _neovim="n"
_name='deoplete'
pkgname="${_name}-git"
pkgver=r1493.04ea041
pkgver=r1524.2ead0d5
pkgrel=1
pkgdesc="deoplete completion plugin for neovim"
arch=('any')
@ -34,7 +34,6 @@ source=("${_name}::${url//https/git}")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_name}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"