summaryrefslogtreecommitdiff
path: root/pssh-git
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-20 10:14:03 +0200
committerErich Eckner <git@eckner.net>2017-09-20 10:14:03 +0200
commit8178c70b342ea4f3f4fd518560ac3a84635ee6dc (patch)
tree9aa13420bfa3f4bee66831a58077ab2db7ba7e13 /pssh-git
parent62011e4035c51ba84a3f6e95d9d6cb42cc27b371 (diff)
downloadarchlinuxewe.git.save-8178c70b342ea4f3f4fd518560ac3a84635ee6dc.tar.xz
pssh-git: remove "v" from version
Diffstat (limited to 'pssh-git')
-rw-r--r--pssh-git/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/pssh-git/PKGBUILD b/pssh-git/PKGBUILD
index a289ce6e..7ea5a29d 100644
--- a/pssh-git/PKGBUILD
+++ b/pssh-git/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Elis Hughes <elishughes@googlemail.com>
pkgname=pssh-git
-pkgver=v2.3.1+27+ga2f936b
+pkgver=2.3.1+27+ga2f936b
pkgrel=1
pkgdesc="Parallel versions of the openssh tools ssh, scp, rsync, nuke, slurp"
arch=('any')
@@ -18,7 +18,11 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/pssh"
- git describe --long --tags | tr '-' '+'
+ git describe --long --tags | \
+ sed '
+ s/^v//
+ y/-/+/
+ '
}
package() {