summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRadu Potop2024-06-04 10:02:28 +0100
committerRadu Potop2024-06-04 10:02:28 +0100
commit46a27c5b062c1ac8a66d7b6afc18783c99a3bce1 (patch)
tree6ba86e5a47a1e8e33c6aaeb0c2169057818a0a8c /PKGBUILD
parentd1d3d787abf88d6f57a559608020e8e72697df88 (diff)
downloadaur-authy-export-git.tar.gz
Fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ec0aa91770ae..937d8cd49349 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=authy-export-git
_bin=authy-export
_gitname=authy
-pkgver=v0.3.2.2.gc4f2
+pkgver=0.3.2.2.gc4f2
pkgrel=1
pkgdesc='Export your TOTP secret tokens from Authy.'
arch=('x86_64')
@@ -19,7 +19,7 @@ source=(
pkgver() {
cd "$_gitname"
- git describe --abbrev=4 --always --tags | sed 's/-/./g'
+ git describe --abbrev=4 --always --tags | sed 's/-/./g' | sed 's/v//'
}
prepare(){