updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / arte7recorder / PKGBUILD
blobd4b48de4c345d8e88bf5e6d2f8681779613a92ef
1 pkgname=arte7recorder
2 pkgver=5.0
3 pkgrel=beta5
4 pkgdesc='Download broadcasts from http://plus7.arte.tv'
5 url='http://codingteam.net/project/arte7recorder'
6 arch=('i686' 'x86_64')
7 license=('GPL2')
8 source=('https://launchpad.net/~arte+7recorder/+archive/ppa/+files/arte%2B7recorder-5_5.0.beta3~ppa3~maverick.tar.gz')
9 depends=('beautiful-soup' 'flvstreamer' 'pygtk' 'python-notify')
10 md5sums=('9073bf685173d62a3cbc8dca0679e8a8')
12 build() {
13         cd $srcdir/pyarte_maverick
15         #Python2 fix
16         sed -i 's_python_python2_' ./bin/arte7recorder
17         sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' setup.py
18         cd arte7recorder/
19         sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' arte7recorder.py Catalog.py
20         
21         cd ..
22         python2 setup.py install --root $pkgdir
24         #Add german translation
25         cp -R ./arte7recorder/locale/de_DE $pkgdir/usr/share/pyshared/arte7recorder/locale