PKGBUILDs/aur/flexget/PKGBUILD
2011-03-22 00:29:33 -04:00

32 lines
905 B
Bash

# Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
plugrel=1
pkgname=flexget
_pkgname=FlexGet
pkgver=1.0r1997
pkgrel=1
pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.)"
arch=(any)
url="http://flexget.com/"
depends=('python2' 'cherrypy' 'python-flask' 'python-progressbar' \
'python2-pynzb' 'pyrss2gen' 'python2-sqlalchemy' 'python-html5lib' \
'python-beautifulsoup' 'python-yaml' 'python-feedparser')
makedepends=('python2-distribute')
license=('MIT')
install=('flexget.install')
source=("http://download.flexget.com/unstable/${_pkgname}-${pkgver}.tar.gz")
md5sums=('4331f29cab53f23d474fed5e43cbeb3d')
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
}