summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d3fced26377b0a3196697cdee5df329790e993f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: willemw <willemw12@gmail.com>

_pkgname=tv-overlord
pkgname=$_pkgname-git
pkgver=r423.c62af1d
pkgrel=1
pkgdesc="Download and manage tv shows"
url="https://bitbucket.org/tvoverlord/tv-overlord"
license=('GPL')
arch=('any')
depends=('python-beautifulsoup4' 'python-click' 'python-colorama' 'python-dateutil'
         #'python-feedparser' 'python-tvdb_api' 'python-requests')
         'python-feedparser' 'python-tvdb_api-git' 'python-requests')
makedepends=('git' 'python-setuptools')
optdepends=('deluge: torrent client' 'transmission-cli: torrent client')
source=($_pkgname::git+https://bitbucket.org/tvoverlord/tv-overlord.git)
md5sums=('SKIP')

pkgver() {
  cd $_pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd $_pkgname
  python setup.py build
}

package() {
  cd $_pkgname
  python setup.py install --root="$pkgdir/" --optimize=1
}