updated on Sun Jan 15 00:02:00 UTC 2012
[aur-mirror.git] / gst-plugin-crystalhd-git / PKGBUILD
blobdb86e434ff0d2ffd9343d325cca25ba9810af618
1 # Contributors: Evilandi666 <evilandi.aur(at)googlemail.com>
2 pkgname=gst-plugin-crystalhd-git
3 pkgver=20120115
4 pkgrel=1
5 pkgdesc="Broadcom Crystal HD GST Plugin (Totem for instance) from git.wilsonet.com"
6 arch=('i686' 'x86_64')
7 url="http://git.linuxtv.org/jarod/crystalhd.git"
8 license=('GPL2')
9 depends=('libcrystalhd-git' 'gstreamer0.10-base')
10 makedepends=('make' 'autogen' 'git')
11 options=(!libtool)
12 _gitroot='git://git.linuxtv.org/jarod/crystalhd.git'
13 _gitname='crystalhd'
15 build() {
17     cd $startdir/src
19     msg "Connecting to git.wilsonet.com GIT server...."
21     if [ -d $startdir/src/$_gitname ] ; then
22         cd $_gitname && git pull origin
23         msg "The local files are updated."
24     else
25         git clone $_gitroot
26         cd $_gitname
27     fi
29     cd filters/gst/gst-plugin/
31     ./autogen.sh --prefix=/usr
32     make || return 1
33     make install DESTDIR=$pkgdir || return 1