makedeb


micro-git 2.0.9.r20.g84a490f1-1


A modern and intuitive terminal-based text editor

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

Commit:


Hash: ba5e8c450be4c19ffd9ec7cbeb3b25d5779974c4

Message: Removed v out of version

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 1105f77..ffdaf9b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = micro-git
 	pkgdesc = A modern and intuitive terminal-based text editor
-	pkgver = v2.0.9.r20.g84a490f1
+	pkgver = 2.0.9.r20.g84a490f1
 	pkgrel = 1
 	url = https://micro-editor.github.io/
 	arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 11a8794..17dc62c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: PWall <34860495+PWall2222@users.noreply.github.com>
 
 pkgname=micro-git
-pkgver=v2.0.9.r20.g84a490f1
+pkgver=2.0.9.r20.g84a490f1
 pkgrel=1
 pkgdesc="A modern and intuitive terminal-based text editor"
 arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')
@@ -16,7 +16,7 @@ md5sums=('SKIP')
 
 pkgver() {
 	cd "${srcdir}/${pkgname}"
-	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+	git describe --long --tags | sed 's/v//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
 build(){