summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimofey Titovets2017-03-16 01:22:59 +0300
committerTimofey Titovets2017-03-16 01:22:59 +0300
commitc349d857543e7aa98d524c7751cee60444ada267 (patch)
tree2e9c3fe2165628b2c1727387c2e53b2799e6bcec
parent67b56f887f32440249fe696792d0955693919c1e (diff)
downloadaur-c349d857543e7aa98d524c7751cee60444ada267.tar.gz
Change version numeration
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cb2659923a6..0f4c45da54f 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 11380b9c18c..87d3f3e4705 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() {