diff options
author | Jonas Witschel | 2019-04-18 10:26:25 +0200 |
---|---|---|
committer | Jonas Witschel | 2019-04-18 10:26:25 +0200 |
commit | 666fae49e450ddc3e0727c1fc6e1376232baa765 (patch) | |
tree | 01272fa6c4a7d807e7a121e617556df2821632ac | |
parent | c76559b78288b1e042e050864fb7335961b78a7a (diff) | |
download | aur-666fae49e450ddc3e0727c1fc6e1376232baa765.tar.gz |
Simplify pkgver()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = tpm2-tss-git pkgdesc = Implementation of the TCG Trusted Platform Module 2.0 Software Stack (TSS2) - pkgver = 2.0.0.r268.79d31052 + pkgver = 2.0.0.r292.e341d5db pkgrel = 1 url = https://github.com/tpm2-software/tpm2-tss arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Jonas Witschel <diabonas at gmx dot de> # Contributor: Hexchain Tong <i at hexchain dot org> pkgname=tpm2-tss-git -pkgver=2.0.0.r268.79d31052 +pkgver=2.0.0.r292.e341d5db pkgrel=1 pkgdesc='Implementation of the TCG Trusted Platform Module 2.0 Software Stack (TSS2)' arch=('x86_64') @@ -18,7 +18,7 @@ sha512sums=('SKIP') pkgver() { cd "${pkgname%-git}" - printf '%s' "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g' } prepare() { |