aur/flexget to 1.0r2782-2

This commit is contained in:
Kevin Mihelich 2012-03-05 19:34:14 -05:00
parent c6c7148544
commit b4d9f581f1
2 changed files with 6 additions and 30 deletions

View file

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

View file

@ -1,22 +0,0 @@
# arg 1: the new package version
post_install() {
echo "You need to place your config.yml in /opt/flexget/ see dir for examples."
echo "Configuration details can be found at http://flexget.com/wiki/Configuration."
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
echo "You need to place your config.yml in /opt/flexget/ see dir for examples."
echo "Configuration details can be found at http://flexget.com/wiki/Configuration."
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
op=$1
shift
$op $*