updated on Wed Jan 11 16:09:51 UTC 2012
[aur-mirror.git] / gst-plugin-anaglyph-git / PKGBUILD
blobedc69d75973b5f86f364405b3fdf84fd52af118b
1 # Contributor: PR <predrg@gmail.com>
3 pkgname=gst-plugin-anaglyph-git
4 pkgver=20110624
5 pkgrel=1
6 pkgdesc="Combine two image streams into a 3D anaglyph stream"
7 arch=("i686" "x86_64")
8 url="https://github.com/michaelgruner/gst-plugin-anaglyph"
9 license=('BSD')
10 depends=('gstreamer0.10' 'gstreamer0.10-base-plugins')
11 makedepends=('git')
12 provides=('gst-plugin-anaglyph')
14 _gitroot="https://github.com/michaelgruner/gst-plugin-anaglyph"
15 _gitname="gst-plugin-anaglyph"
17 source=(commit-a7f4acf)
18 md5sums=('4a9b914d283352bd5b88324683ad47cd')
20 build() {
21   cd $srcdir
23   msg "Connecting to GIT server..."
24   if [[ -d $_gitname ]]; then
25     (cd $_gitname && git pull origin)
26   else
27     git clone $_gitroot $_gitname
28   fi
29   msg "GIT checkout done or server timeout"
30   msg "Starting make..."
32   rm -rf $_gitname-build
33   cp -r $_gitname $_gitname-build
34   cd $_gitname-build
36   for p in ../../commit-*; do patch -N -p1 < $p; done
38   autoreconf --verbose --force --install
39   ./configure --prefix=/usr
40   make
43 package(){
44   cd $srcdir/$_gitname-build
45   make DESTDIR=$pkgdir install
46   rm $pkgdir/usr/lib/gstreamer-0.10/*.la