updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pigment-python-svn / PKGBUILD
blob48cafdab88e59faa42c327bffb737551f2fd9618
1 # Contributor:  Jon Kristian Nilsen <jokr.nilsen@gmail.com>
3 pkgname=pigment-python-svn
4 pkgver=1219
5 pkgrel=1
6 pkgdesc="Pigment is a 3D scene graph library designed to easily create rich application user interfaces."
7 url="https://code.fluendo.com/pigment/trac"
8 arch=(i686 x86_64)
9 license=('GPL')
11 depends=('pigment-svn' 'python')
12 makedepends=('subversion')
13 conflicts=('python-pigment')
14 options=('!libtool' '!makeflags')
15 provides=('pigment-python-svn')
17 source=()
18 md5sums=()
20 _svntrunk="https://code.fluendo.com/pigment/svn/trunk/pigment-python"
21 _svnmod="pigment-python"
23 build() {
24   cd ${srcdir}
26   if [ -d $_svnmod/.svn ]; then
27     (cd $_svnmod && svn up -r $pkgver)
28   else
29     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30   fi
32   msg "SVN checkout done or server timeout"
33   msg "Starting make..."
35   cp -r $_svnmod $_svnmod-build
36   cd $_svnmod-build
38   ./autogen.sh --prefix=/usr
39   make || return 1
40   make DESTDIR=${pkgdir} install || return 1
42   rm -rf ${srcdir}/$_svnmod-build
44 # vim:syntax=sh