mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-12-22 12:32:49 -08:00
correct pkgver deoplete--git
This commit is contained in:
parent
e9bb84a11f
commit
6e6fdb55c4
@ -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
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user