updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / python-puremvc-svn / PKGBUILD
blob2bdb81cc618f98581ec4be61c91a82b7152024a6
1 # Contributor: Sebastian Krämer <basti.kr@gmail.com>
3 pkgname=python-puremvc-svn
4 provides=('python-puremvc')
5 pkgver=95
6 pkgrel=1
7 pkgdesc="A lightwight framework for creating applications based upon the classic MVC concept."
8 url="http://puremvc.org/"
9 source=()
10 md5sums=()
11 arch=('i686')
12 license=('cc-by-3.0')
13 depends=('python')
14 makedepends=('subversion')
16 _svnmod="puremvc"
17 _svntrunk="http://svn.puremvc.org/PureMVC_Python/trunk"
19 build() {
20   cd $startdir/src
22   msg "Getting sources..."
23   if [ -d $_svnmod/.svn ]; then
24     (cd $_svnmod && svn up -r $pkgver)
25   else
26     svn co $_svntrunk -r $pkgver $_svnmod
27     cd $_svnmod
28   fi
30   msg "SVN checkout done or server timeout"
31   msg "Starting setup.py..."
33   python setup.py install --prefix=$startdir/pkg/usr