diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = trakt-scrobbler pkgdesc = Automatically scrobble TV show episodes and movies you are watching to Trakt.tv! It keeps a history of everything you've watched! pkgver = 1.0.0b6 - pkgrel = 0 + pkgrel = 1 url = https://github.com/iamkroot/trakt-scrobbler arch = any license = GPL2 @@ -2,7 +2,7 @@ pkgname=trakt-scrobbler pkgver=1.0.0b6 -pkgrel=0 +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) @@ -20,6 +20,10 @@ build() { python setup.py build go-md2man -in "$srcdir/trakts-man.md" 2>/dev/null|gzip -n > trakts.1.gz } +pkgver() +{ + curl -s https://pypi.org/pypi/$pkgname/json|jq -r '.info.version' +} package() { cd "$srcdir/$pkgname-$pkgver" |