summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-06-09 23:42:53 +0200
committerhaawda2019-06-09 23:42:53 +0200
commit8b6a36654f2275cfd18e94d30323c2a849ec2418 (patch)
tree7df6e5f16a5fc5bffd7479cedcb00cc47d2087ed
parentea799c7b51520a45404cd7fb0bbf4b615d10e43e (diff)
downloadaur-reptyr-git.tar.gz
rewrite pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed16e21b3feb..4ea621c2439c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = reptyr-git
pkgdesc = Utility for taking an existing running program and attaching it to a new terminal
- pkgver = 0.6.2.66.g3f46356
+ pkgver = 0.7.0.r2.gd2b0b06
pkgrel = 1
url = https://github.com/nelhage/reptyr
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 6b13cbb2b839..2e41daf2de10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=reptyr-git
-pkgver=0.6.2.66.g3f46356
+pkgver=0.7.0.r2.gd2b0b06
pkgrel=1
pkgdesc='Utility for taking an existing running program and attaching it to a new terminal'
arch=('x86_64')
@@ -16,7 +17,7 @@ md5sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
- git describe --tags |sed 's+-+.+g'|sed 's+^reptyr.++'
+ git describe --tags | sed 's+^reptyr.++' | sed "s+-+.r+" | tr - .
}
prepare() {