1 # Maintainer: György Balló <ballogy@freestart.hu>
5 pkgdesc="GNOME Applet for monitoring TV programs"
7 url="http://live.gnome.org/OnTV"
9 depends=('dbus-python' 'python2-gconf' 'python2-libgnome' 'python-notify>=0.1.1' 'vte' 'xmltv' 'hicolor-icon-theme' 'xdg-utils')
10 makedepends=('git' 'gnome-common' 'gnome-python>=2.16.0' 'intltool>=0.33')
13 install=$pkgname.install
15 _gitroot="git://git.gnome.org/ontv"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
40 sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
42 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
43 --disable-static --disable-schemas-install --enable-gnome-applet \
44 --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
50 cd "$srcdir/$_gitname-build"
52 make DESTDIR="$pkgdir/" install