1 # Contributor: Franz Burgmann <f dot burgmann at gmail dot com>
6 pkgdesc="transfers EPG data from xml to VDR."
8 url="http://www.vdr-wiki.de/wiki/index.php/Xmltv2vdr"
10 depends=('vdr' 'xmltv' 'perl-date-manip')
11 source=(ftp://ftp.cadsoft.de/vdr/Tools/$pkgname-$pkgver.tar.gz)
12 md5sums=(6dd018aeaf342e90a8495ef7069fc5c9)
15 cd "$srcdir/$pkgname-$pkgver" || return 1
17 mkdir -p $pkgdir/usr/bin || return 1
18 cp xmltv2vdr.pl $pkgdir/usr/bin/ || return 1
19 cp grab_freeview_epg.sh $pkgdir/usr/bin/ || return 1
21 mkdir -p $pkgdir/etc/xmltv2vdr || return 1
22 cp -r ../../channels.conf $pkgdir/etc/xmltv2vdr || return 1
24 mkdir -p $pkgdir/usr/share/doc/$pkgname || return 1
25 cp -r examples $pkgdir/usr/share/doc/$pkgname || return 1
26 cp -r COPYING $pkgdir/usr/share/doc/$pkgname || return 1
27 cp -r HISTORY $pkgdir/usr/share/doc/$pkgname || return 1
28 cp -r README $pkgdir/usr/share/doc/$pkgname || return 1