updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pigment-svn / PKGBUILD
blobb6a4b286806a019559582be957275187eb2d4a45
1 # Contributor:  Jon Kristian Nilsen <jokr.nilsen@gmail.com>
3 pkgname=pigment-svn
4 pkgver=1609
5 pkgrel=1
6 pkgdesc="Development version of a GLib/GObject library designed to easily create rich UIs embedding several media types."
7 url="https://code.fluendo.com/pigment/trac"
8 arch=('any')
9 license=('GPL')
10 depends=('freeglut' 'libgl' 'gstreamer0.10-base' 'gtk2' 'gtk-doc')
11 makedepends=('subversion')
12 options=('!libtool')
13 conflicts=('pigment')
14 source=('Makefile.patch')
15 md5sums=('1196c89b2495fd4584e5344372d0eb34')
17 _svntrunk="https://code.fluendo.com/pigment/svn/trunk"
18 _svnmod="pigment"
20 build() {
21     cd ${srcdir}
23     if [ -d $_svnmod/.svn ]; then
24         (cd $_svnmod && svn up -r $pkgver)
25     else
26         svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27     fi
29     msg "SVN checkout done or server timeout"
30     msg "Starting make..."
32     patch -Np1 -i Makefile.patch 
34     cp -r $_svnmod $_svnmod-build
35     cd $_svnmod-build/pigment
37     ./autogen.sh --disable-gtk-doc --prefix=/usr
38     make || return 1
39     make DESTDIR=${pkgdir} install
41     rm -rf ${srcdir}/$_svnmod-build