summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlmartinez-mirror2020-10-20 14:03:29 -0500
committerlmartinez-mirror2020-10-20 14:03:29 -0500
commit51aac9a2f75b6262c0a287af81f0a66ff684961d (patch)
tree6fa54f3a7240dbc734d9c8789e67e00fa3de937b
parentcb07514fe336ef87b07b2a1296a7d98653db0fe4 (diff)
downloadaur-51aac9a2f75b6262c0a287af81f0a66ff684961d.tar.gz
fixed versioning
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ed0e8da92d..f59f293ffa1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = zoxide-git
pkgdesc = A fast cd command that learns your habits
- pkgver = v0.4.3.r17.geaf63bc
+ pkgver = 0.4.3.r23.gc0a1a78
pkgrel = 1
url = https://github.com/ajeetdsouza/zoxide
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c41790601f3..5b228c31c78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Credit: desbma
pkgname=zoxide-git
_pkgname=zoxide
-pkgver=v0.4.3.r17.geaf63bc
+pkgver=0.4.3.r23.gc0a1a78
pkgrel=1
pkgdesc='A fast cd command that learns your habits'
arch=('x86_64')
@@ -16,7 +16,7 @@ sha512sums=('SKIP')
pkgver() {
cd "${pkgname}"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {