1 # For ArchLinux by Joël Porquet
3 pkgname=canaldailydownloader
6 pkgdesc="Automatic download of Canal Plus VOD (Zapping, Action Discrete, Boite a questions, Guignols, Petit Journal, Meteo, Groland, SAV, etc.)"
7 url="http://renaudguezennec.homelinux.org/programmation,1-6.html"
10 depends=('python' 'flvstreamer' 'sed')
11 source=("http://renaudguezennec.homelinux.org/prog/Projet/CanalDailyDownloader/src/CanalDailyDownloader_${pkgver}.tar.gz")
14 cd ${srcdir}/CanalDailyDownloader
16 mkdir -p $pkgdir/usr/bin
17 mkdir -p $pkgdir/usr/share/doc/canaldailydownloader
18 mkdir -p $pkgdir/usr/share/licenses/canaldailydownloader
21 sed -i '1s/.*/#!\/usr\/bin\/python/g' canal.py
22 install canal.py $pkgdir/usr/bin/canaldailydownloader
24 install -m 644 AUTHORS $pkgdir/usr/share/doc/canaldailydownloader/
25 install -m 644 COPYRIGHT $pkgdir/usr/share/doc/canaldailydownloader/
26 install -m 644 COPYING.txt $pkgdir/usr/share/licenses/canaldailydownloader/
30 md5sums=('5b64df7b08a0c77c9d9e7b606c839a53')