summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cb2659923a6b..0f4c45da54f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon Mar 13 06:25:35 UTC 2017
+# Wed Mar 15 22:22:03 UTC 2017
pkgbase = ananicy-git
pkgdesc = Ananicy - is Another auto nice daemon, with community rules support
- pkgver = 133.94e6a26
+ pkgver = 1.8.r2.g6dd10bf
pkgrel = 1
url = https://github.com/Nefelim4ag/Ananicy.git
install = ananicy-git.install
diff --git a/PKGBUILD b/PKGBUILD
index 11380b9c18ca..87d3f3e47054 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Timofey Titovets <nefelim4ag@gmail.com>
pkgname=ananicy-git
-pkgver=133.94e6a26
+pkgver=1.8.r2.g6dd10bf
pkgrel=1
pkgdesc="Ananicy - is Another auto nice daemon, with community rules support"
arch=('any')
@@ -14,8 +14,8 @@ md5sums=('SKIP')
install=$pkgname.install
pkgver() {
- cd ${pkgname}
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ cd "$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {