diff options
author | Emmanuel Gil Peyrot | 2018-10-02 20:16:55 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot | 2018-10-02 20:16:55 +0200 |
commit | 539f8cacdcb5637d1a89307a92ee8f5ae4e3fce0 (patch) | |
tree | 2fa27b668b3a0d90d02086cd9b2d8ec355445dc3 | |
parent | 6c429eddd7072f3561ff74d3af20f146d59a2c2b (diff) | |
download | aur-539f8cacdcb5637d1a89307a92ee8f5ae4e3fce0.tar.gz |
Use recommended pkgver() function from ArchWiki.
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ sha256sums=('SKIP') pkgver() { cd $pkgname - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { |