1 # Maintainer: Matthew Bauer <mjbauer95@gmail.com>
3 pkgname=pytivo-wmcbrine-git
6 pkgdesc="pyTivo is both an HMO and GoBack server. Similar to TiVo Desktop pyTivo loads many standard video compression codecs and outputs mpeg2 video to the TiVo. However, pyTivo is able to load MANY more file types than TiVo Desktop."
8 url="http://pytivo.sourceforge.net/"
10 depends=('ffmpeg' 'python>=2.4')
11 optdepends=('pil: for photo plugin' 'dnspython: XMPP' 'pydns: XMPP')
15 md5sums=('e757e9a66d374c457ff16007404a41d0')
18 _gitroot="git://repo.or.cz/pyTivo/wmcbrine.git"
24 msg "Connecting to repo.or.cz GIT server...."
26 if [ -d ${srcdir}/$_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
33 msg "GIT checkout done"
34 msg "Starting install..."
36 cd ${srcdir}/$_gitname
39 cp pyTivo.conf.dist ${pkgdir}/etc
41 mkdir -p ${pkgdir}/usr/share/pyTivo
42 cp -r * ${pkgdir}/usr/share/pyTivo
43 chmod +x ${pkgdir}/usr/share/pyTivo/pyTivo.py
45 msg "Adding rc.d script"
47 mkdir -p ${pkgdir}/etc/rc.d
48 cp rc.d ${pkgdir}/etc/rc.d/pytivo
49 chmod +x ${pkgdir}/etc/rc.d/pytivo