diff --git a/deoplete-git/.SRCINFO b/deoplete-git/.SRCINFO index 4a2d1c5..06a1058 100644 --- a/deoplete-git/.SRCINFO +++ b/deoplete-git/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = deoplete-git pkgdesc = deoplete completion plugin for neovim - pkgver = 4.1.r17.g04ea041 + pkgver = r1493.04ea041 pkgrel = 1 url = https://github.com/Shougo/deoplete.nvim install = deoplete.install diff --git a/deoplete-git/PKGBUILD b/deoplete-git/PKGBUILD index bf9a9e7..00c0451 100644 --- a/deoplete-git/PKGBUILD +++ b/deoplete-git/PKGBUILD @@ -11,7 +11,7 @@ _neovim="n" _name='deoplete' pkgname="${_name}-git" -pkgver=4.1.r17.g04ea041 +pkgver=r1493.04ea041 pkgrel=1 pkgdesc="deoplete completion plugin for neovim" arch=('any') @@ -34,9 +34,10 @@ source=("${_name}::${url//https/git}") noextract=() md5sums=('SKIP') + pkgver() { - cd "${srcdir}/${_name}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd "${srcdir}/${_name}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() {