diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ # Maintainer: Mubashshir <ahmubashshir@gmail.com> # pkg: git pkgname=trakt-scrobbler-git -pkgver=v1.2.0.r5.g9cb6a06 -pkgrel=3 +pkgver=1.2.0.r5.g9cb6a06 +pkgrel=1 pkgdesc="Automatically scrobble TV show episodes and movies you are watching to Trakt.tv! It keeps a history of everything you've watched!" arch=(any) @@ -46,7 +46,7 @@ pkgver() { cd ${pkgname%*-git} ( set -o pipefail - git describe --tags --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + git describe --tags --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) } |