summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHyacinthe Cartiaux2017-03-20 02:17:47 +0100
committerHyacinthe Cartiaux2017-03-20 02:17:47 +0100
commit1667d6f03370b82d2af915c6ba9a49cd8099d3f5 (patch)
treeba4d1703bb0839dff9ee9a4dedf1fa8471eb8bfa
parent53faa891f205ccb5017bda9854e46bc3098266de (diff)
downloadaur-1667d6f03370b82d2af915c6ba9a49cd8099d3f5.tar.gz
bump to v0.02.x
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb0e22761bba..d6e0eac13227 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Mon Mar 20 01:16:49 UTC 2017
pkgbase = powerstat-git
pkgdesc = A tool for measuring a laptops power usage via the battery.
- pkgver = 0.01.09.r123.g9d6e69d
+ pkgver = 0.02.11.r4.g5bd6c38
pkgrel = 1
url = http://kernel.ubuntu.com/~cking/powerstat/
arch = i686
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() {