updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / django-treemenus-svn / PKGBUILD
blobe69ee6570a213c4777be0193b7411f58bb1eafdf
1 # Contributor: Apkawa <apkawa@gmail.com>
3 pkgname="django-treemenus-svn"
4  
5 pkgver=48
6 pkgrel=3
7 pkgdesc="Generic tree-structured menuing system for Django"
8 arch=('i686' 'x86_64')
9 url="http://code.google.com/p/django-treemenus/"
10 license=('New BSD License')
11 makedepends=('svn')
12 depends=('python' 'django')
13 provides=('')
14 conflicts=('')
15 replaces=('')
16 source=( )
17 md5sums=( )
19 _svntrunk=http://django-treemenus.googlecode.com/svn/trunk/
20 _svnmod=django-treemenus-svn
22 build() {
23   cd $startdir/src
25   if [ -d $_svnmod/.svn ]; then
26     (cd $_svnmod && svn up -r $pkgver)
27   else
28     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29   fi
31   msg "SVN checkout done or server timeout"
33   cd $_svnmod
34   python setup.py install --root=$startdir/pkg