PKGBUILDs/aur/flexget/PKGBUILD
2011-12-07 16:27:09 -05:00

33 lines
916 B
Bash

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