summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Whatson2019-11-08 15:04:37 +1000
committerAndrew Whatson2019-11-08 15:04:37 +1000
commita90e4965a64b6114db945f334f2d20bf6871ad8b (patch)
tree38342abed0aeb34417e4abadf9a97131bf1d6b51
parent05ada12f819f9099d2db8cfaa19d4569022f43fd (diff)
downloadaur-a90e4965a64b6114db945f334f2d20bf6871ad8b.tar.gz
Fix version number
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8d019e1c2447..78f1cd57832b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = shroud-git
pkgdesc = A simple command-line secret manager using GNU Guile
- pkgver = v0.1.2.r2.gce77970
+ pkgver = 0.1.2.r2.gce77970
pkgrel = 1
url = https://dthompson.us/projects/shroud.html
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index b1b021be490c..0ab101ce8ef4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Andrew Whatson <whatson@gmail.com>
_pkgname=shroud
pkgname=${_pkgname}-git
-pkgver=v0.1.2.r2.gce77970
+pkgver=0.1.2.r2.gce77970
pkgrel=1
pkgdesc='A simple command-line secret manager using GNU Guile'
arch=('i686' 'x86_64')
@@ -15,8 +15,8 @@ source=("git+https://git.dthompson.us/shroud.git")
sha256sums=('SKIP')
pkgver() {
- cd shroud
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ cd ${_pkgname}
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {