diff options
author | Luis Aranguren | 2022-03-17 23:25:40 +1100 |
---|---|---|
committer | Luis Aranguren | 2022-03-17 23:25:40 +1100 |
commit | 43560987a4a3602a046e6513d22a88e8062b1257 (patch) | |
tree | abf0db08e9b54e630638be0c7ae16396f16e2e86 | |
parent | 1089868ddca473d21470dc809c88c7f8c271e7b8 (diff) | |
download | aur-43560987a4a3602a046e6513d22a88e8062b1257.tar.gz |
4.0.beta.1.r162.ga8611597, changed versioning to tags
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 3 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = rutorrent-git pkgdesc = Web frontend to rTorrent in PHP designed to resemble uTorrent - pkgver = r2999.3830f834 + pkgver = 4.0.beta.1.r162.ga8611597 pkgrel = 1 url = https://github.com/Novik/ruTorrent install = rutorrent.install @@ -2,7 +2,7 @@ # Contributor: skydrome <skydrome@i2pmail.org> pkgname='rutorrent-git' -pkgver=r2999.3830f834 +pkgver=4.0.beta.1.r162.ga8611597 pkgrel=1 pkgdesc="Web frontend to rTorrent in PHP designed to resemble uTorrent" url="https://github.com/Novik/ruTorrent" @@ -36,10 +36,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir/rutorrent" - - _gitrev=$(git rev-parse --short HEAD) - _gitcount=$(git rev-list --count HEAD) - echo "r${_gitcount}.${_gitrev}" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { |