This commit is contained in:
Jack L. Frost 2015-09-23 18:31:27 +03:00
parent 673d378380
commit 92eb7a2c71

View File

@ -24,7 +24,7 @@ source=("git://github.com/chjj/compton.git")
md5sums=("SKIP") md5sums=("SKIP")
pkgver() { pkgver() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${_gitname}"
if git_version=$( git describe --long --tags 2>/dev/null ); then if git_version=$( git describe --long --tags 2>/dev/null ); then
IFS='-' read last_tag tag_rev commit <<< "$git_version" IFS='-' read last_tag tag_rev commit <<< "$git_version"