updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / miro-git / PKGBUILD
blob21d9a86c0c1842834a0815c863fd52462c5c9509
1 # $Id: PKGBUILD 45558 2009-07-12 17:23:23Z ronald $
2 # Maintainer: Ronald van Haren <ronald.archlinux.org>
4 pkgname=miro-git
5 pkgver=20100909
6 pkgrel=2
7 pkgdesc="The free and open source internet TV platform"
8 arch=('i686' 'x86_64')
9 url="http://www.getmiro.com"
10 license=('GPL2')
11 depends=('dbus-python' 'pyrex' 'pygtk' 'gstreamer0.10' 'gnome-python'
12          'python-pysqlite' 'pywebkitgtk' 'shared-mime-info'
13          'desktop-file-utils' 'gstreamer0.10' 'hicolor-icon-theme'
14          'gstreamer0.10-python' 'python-notify' 'libtorrent-rasterbar')
15 makedepends=('pkgconfig' 'git')
16 install=miro.install
17 md5sums=('e90815b92db109b8bfa853437c55a711')
19 conflicts=('democracy')
20 replaces=('democracy')
21 provides=('democracy')
22 _gitroot="http://git.participatoryculture.org/miro"
23 _gitname="miro"
25 build() {
26  msg "Connecting to GIT server..."
27   if [[ -d $srcdir/$_gitname ]]; then
28     cd $srcdir/$_gitname && git pull origin || return 1
29   else
30     git clone $_gitroot $srcdir/$_gitname || return 1
31     cd $srcdir/$_gitname
32   fi
34   msg "GIT checkout done or server timeout"
35   msg "Starting make..."
37   cd ${srcdir}/miro/tv/linux
38   python setup.py install --root=${pkgdir} || return 1