diff options
author | Timofey Titovets | 2017-03-16 01:11:26 +0300 |
---|---|---|
committer | Timofey Titovets | 2017-03-16 01:11:26 +0300 |
commit | c261698553ad8ecf5132e99889dc02174909e2a5 (patch) | |
tree | 27b41741c5e85eef7cee4551829884cf8e5e27dc | |
parent | c4fe7edc8951b8f8f7f07485b9883ec564e41cd0 (diff) | |
download | aur-c261698553ad8ecf5132e99889dc02174909e2a5.tar.gz |
Change pkgver
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Feb 10 15:38:03 UTC 2017 +# Wed Mar 15 22:11:02 UTC 2017 pkgbase = leagueoflegends-git pkgdesc = League Of Legends: Install/Run wrapper - pkgver = 102.f3061a5 - pkgrel = 3 + pkgver = 0.13.r7.gf3061a5 + pkgrel = 1 url = https://github.com/Nefelim4ag/League-Of-Legends install = leagueoflegends-git.install arch = any @@ -1,8 +1,8 @@ # Maintainer: Timofey Titovets <nefelim4ag@gmail.com> pkgname=leagueoflegends-git -pkgver=102.f3061a5 -pkgrel=3 +pkgver=0.13.r7.gf3061a5 +pkgrel=1 pkgdesc="League Of Legends: Install/Run wrapper" arch=('any') url="https://github.com/Nefelim4ag/League-Of-Legends" @@ -16,8 +16,8 @@ install=leagueoflegends-git.install backup=("etc/leagueoflegends.conf") 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() { |