# Maintainer: Nathan Owe plugrel=1 pkgname=flexget _pkgname=FlexGet pkgver=1.0r2899 pkgrel=1 pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.)" arch=(any) url="http://flexget.com/" depends=('python2' 'python2-cherrypy' 'python2-progressbar' \ 'python2-pynzb' 'pyrss2gen' 'python2-sqlalchemy' 'python2-html5lib' \ 'python-beautifulsoup' 'python2-yaml' 'python2-feedparser' 'python2-flask' 'python2-requests-0.10.0' 'python2-certifi>=0.0.7' 'python2-chardet>=1.0.0' 'python2-dateutil') makedepends=('python2-distribute') license=('MIT') source=("http://download.flexget.com/unstable/${_pkgname}-${pkgver}.tar.gz") md5sums=('6a786808d0dba17bb6b9e6ad47fbb7a4') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py install --root=${pkgdir}/ optimize=1 install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }