From c30c273976c6b8108d62418141f6297ea43d7e43 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 25 Sep 2017 08:49:50 +0200 Subject: checkVersions: git besser verstehen --- pssh-git/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pssh-git') diff --git a/pssh-git/PKGBUILD b/pssh-git/PKGBUILD index a5f80cee..a17816bd 100644 --- a/pssh-git/PKGBUILD +++ b/pssh-git/PKGBUILD @@ -4,6 +4,7 @@ pkgname=pssh-git pkgver=2.3.1+27+ga2f936b +_commit="${pkgver##*+}" pkgrel=1 pkgdesc="Parallel versions of the openssh tools ssh, scp, rsync, nuke, slurp" arch=('any') @@ -13,12 +14,12 @@ depends=('openssh' 'python') makedepends=('git' 'python-setuptools') provides=('pssh') conflicts=('pssh') -source=(git+https://github.com/lilydjwg/pssh.git) +source=(git+https://github.com/lilydjwg/pssh.git#commit=${_commit}) sha256sums=('SKIP') pkgver() { cd "${srcdir}/pssh" - git describe --long --tags | \ + git describe --long --tags ${_commit} | \ sed ' s/^v// y/-/+/ -- cgit v1.2.3-54-g00ecf