1 # Contributor: atie H. <atie.at.matrix@gmail.com>
6 pkgdesc="Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL"
7 url="http://www.sqlalchemy.org/"
11 makedepends=('subversion')
12 conflicts=('sqlalchemy')
13 provides=('sqlalchemy')
18 _svntrunk=http://svn.sqlalchemy.org/sqlalchemy/trunk
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk -r $pkgver $_svnmod
31 python setup.py install --root=$pkgdir
32 mkdir -p $pkgdir/usr/share/licenses/$pkgname
33 mv LICENSE $pkgdir/usr/share/licenses/$pkgname
34 find $pkgdir -name .svn -exec rm -rf {} \; > /dev/null 2>&1
36 rm -rf $srcdir/$_svnmod-build