makedeb


neovim-git 16b0d3ae2022.04.20-2


Vim-fork focused on extensibility and usability

Click here to go back to the commit logs for neovim-git.

Commit:


Hash: e4373f3b51bfc4fa6b9761bd93950399e23ac253

Message: neovim slight improvements

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 022024b..993eb3b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb-makepkg
 
 pkgbase = neovim-git
 	pkgdesc = Vim-fork focused on extensibility and usability
-	pkgver = 18748nightly.2.g5c643dee72021.09.01
+	pkgver = 0.5.0.379.g0603eba6e187492021.09.01
 	pkgrel = 1
 	url = https://neovim.io/
 	arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 05783cd..50f575a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=neovim-git
 _pkgname=neovim
-pkgver=18748nightly.2.g5c643dee72021.09.01
+pkgver=0.5.0.379.g0603eba6e187492021.09.01
 pkgrel=1
 pkgdesc="Vim-fork focused on extensibility and usability"
 arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
@@ -24,10 +24,10 @@ options=(!strip)
 
 pkgver() {
     cd "${srcdir}/${_pkgname}"
-    _tag=$(git describe --tags | sed -e 's:-:.:g' -e 's:vNext::') # tag is mobile, and switches between numbers and letters, can't use it for versioning
+    _tag=$(git describe | sed -e 's:-:.:g' -e 's:v::') # tag is mobile, and switches between numbers and letters, can't use it for versioning
     _commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
     _date=$(git log -1 --date=short --pretty=format:%cd)
-    printf "%s%s%s\n" "${_commits}" "${_tag}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
+    printf "%s%s%s\n" "${_tag}" "${_commits}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
 }
 
 package() {