updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gstreamer0.10-python-git / PKGBUILD
blob87274a5ababc93bfdd1fe64458791709da4ffb14
1 # Maintainer: Thijs Vermeir <thijsvermeir@gmail.com>
3 _realname=gstreamer0.10-python
4 _upname=gst-python
5 _upver=0.10.24.1
6 pkgname=${_realname}-git
7 pkgver=20090820
8 pkgrel=1
9 pkgdesc="Python bindings for GStreamer 0.10"
10 arch=(i686 x86_64)
11 license=('LGPL')
12 url="http://gstreamer.freedesktop.org/"
13 conflicts=("${_realname}")
14 provides=("${_realname}=${_upver}")
15 depends=('pygobject>=2.16.1' 'gstreamer0.10-base-git')
16 makedepends=('pkgconfig')
17 options=('!libtool')
18 source=()
19 md5sums=()
20 groups=('gstreamer')
22 _gitroot=git://anongit.freedesktop.org/gstreamer/${_upname}
23 _gitname=master
25 build() {
26   cd ${srcdir}
27   if [ -d ${_upname} ] ; then
28     cd ${_upname} && git pull --rebase || return 1
29   else
30     git clone --depth 1 ${_gitroot} || return 1
31     cd ${_upname}
32   fi
33   sh autogen.sh --prefix=/usr || return 1
34   make || return 1
35   make DESTDIR="${pkgdir}" install || return 1