updated on Fri Jan 13 20:02:10 UTC 2012
[aur-mirror.git] / transmageddon-git / PKGBUILD
blob11759863ae01ca2dd19fd627ad8efc05bf379ea0
1 # Contributor: acmps <acmps.pt@gmail.com>
2 pkgname=transmageddon-git
3 pkgver=20091106
4 pkgrel=1
5 pkgdesc="A video transcoder based on gstreamer"
6 arch=('i686' 'x86_64')
7 url="http://www.linuxrising.org/transmageddon/index.html"
8 license=('LGPL')
9 depends=('gstreamer0.10-good-plugins' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-ugly-plugins' 'gstreamer0.10-base-plugins' 'gstreamer0.10-python' 'pygobject' 'pycairo' 'pygtk')
10 makedepends=('git' 'intltool')
11 provides=('transmageddon')
12 conflicts=('transmageddon')
14 _gitroot="git://git.gnome.org/transmageddon"
15 _gitname="transmageddon"
17 build() {
18   cd "$srcdir"
19   msg "Connecting to GIT server...."
21   if [ -d $_gitname ] ; then
22     cd $_gitname && git pull origin
23     msg "The local files are updated."
24   else
25     git clone $_gitroot
26   fi
28   msg "GIT checkout done or server timeout"
29   msg "Starting make..."
31   rm -rf "$srcdir/$_gitname-build"
32   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33   cd "$srcdir/$_gitname-build"
35   ./autogen.sh
36   ./configure --prefix=/usr
37   make || return 1
38   make DESTDIR="$pkgdir/" install
39