pkgname=arte7recorder pkgver=5.0 pkgrel=beta5 pkgdesc='Download broadcasts from http://plus7.arte.tv' url='http://codingteam.net/project/arte7recorder' arch=('i686' 'x86_64') license=('GPL2') source=('https://launchpad.net/~arte+7recorder/+archive/ppa/+files/arte%2B7recorder-5_5.0.beta3~ppa3~maverick.tar.gz') depends=('beautiful-soup' 'flvstreamer' 'pygtk' 'python-notify') md5sums=('9073bf685173d62a3cbc8dca0679e8a8') build() { cd $srcdir/pyarte_maverick #Python2 fix sed -i 's_python_python2_' ./bin/arte7recorder sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' setup.py cd arte7recorder/ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' arte7recorder.py Catalog.py cd .. python2 setup.py install --root $pkgdir #Add german translation cp -R ./arte7recorder/locale/de_DE $pkgdir/usr/share/pyshared/arte7recorder/locale }