diff options
-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() { |