summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHyacinthe Cartiaux2017-03-20 02:17:47 +0100
committerHyacinthe Cartiaux2017-03-20 02:17:47 +0100
commit1667d6f03370b82d2af915c6ba9a49cd8099d3f5 (patch)
treeba4d1703bb0839dff9ee9a4dedf1fa8471eb8bfa /PKGBUILD
parent53faa891f205ccb5017bda9854e46bc3098266de (diff)
downloadaur-1667d6f03370b82d2af915c6ba9a49cd8099d3f5.tar.gz
bump to v0.02.x
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 942296307e6a..7754c95cd1c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
# Contributor: Earnest <zibeon@gmail.com>
# Contributor: Eugeni Dodonov <eugeni@dodonov.net>
+# Contributor: Tom Vincent <aur@tlvince.com>
pkgname=powerstat-git
-pkgver=0.01.09.r123.g9d6e69d
+pkgver=0.02.11.r4.g5bd6c38
pkgrel=1
pkgdesc='A tool for measuring a laptops power usage via the battery.'
@@ -22,7 +23,7 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/powerstat"
- git describe | sed 's/^V//; s/-/.r/; s/-/./'
+ git describe --long --tags | sed 's/^V//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {