diff options
author | Marc Cousin | 2018-07-18 07:20:50 +0200 |
---|---|---|
committer | Marc Cousin | 2018-07-18 07:20:50 +0200 |
commit | 661b60687b4fc6f07689c805b85badc1e085728d (patch) | |
tree | 14f709f02c4fa6821c5a65e54fb990e77980b1c9 | |
parent | d85eae3c2cb736c7eff118e651a352cbcb487055 (diff) | |
download | aur-661b60687b4fc6f07689c805b85badc1e085728d.tar.gz |
Make version number correct
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 3 insertions, 7 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Mon Mar 19 07:18:26 UTC 2018 pkgbase = hypopg-git pkgdesc = Hypothetical indexes for PostgreSQL... ask the optimizer if this hypothetical index would help - pkgver = 0de9755 + pkgver = 1.1.2.r0.gd7ef06f pkgrel = 1 url = https://github.com/HypoPG/hypopg install = hypopg-git.install @@ -1,7 +1,7 @@ # Maintainer: Marco44 (Marc Cousin) <cousinmarc at gmail dot com> pkgname=hypopg-git _gitname=hypopg -pkgver=0de9755 +pkgver=1.1.2.r0.gd7ef06f pkgrel=1 pkgdesc="Hypothetical indexes for PostgreSQL... ask the optimizer if this hypothetical index would help" arch=('i686' 'x86_64' 'armv7h' 'aarch64') @@ -17,9 +17,7 @@ install='hypopg-git.install' pkgver() { cd $_gitname - tag=`git tag | grep REL | tail -1` - commit=`git log --format="%h" -n 1` - echo "$tag_$commit" + git describe --long --tags | sed 's/REL//;s/_/./g;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |