1 # Contributor: Alexander Rødseth <rodseth@gmail.com>
5 pkgdesc="A Python to C++ compiler"
7 url="http://code.google.com/p/shedskin/"
9 depends=('pcre' 'gc' 'python2')
10 makedepends=('subversion' 'python2')
11 provides=('shedskin=0.5')
12 conflicts=('shedskin')
13 _svntrunk=http://shedskin.googlecode.com/svn/trunk/
15 source=("python27.patch")
16 md5sums=('fbda0b3ebaae7446d7420e9d9bc8007f')
21 # Checking out from SVN
22 if [ -d "$_svnmod/.svn" ]; then
23 (cd "$_svnmod" && svn up -r "$pkgver")
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
29 # Install the wrapperscript
30 mkdir -p "$pkgdir/usr/bin"
32 install -D -m755 shedskin "$pkgdir/usr/bin/shedskin"
37 patch -p0 < $srcdir/python27.patch || return 1
39 # Install using setup.py
40 python2 setup.py install --prefix="$pkgdir/usr"
44 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
46 # vim:set ts=2 sw=2 et: