1 # Maintainer: Marti Raudsepp <marti@juffo.org>
2 # Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
7 pkgdesc="Python interpreter and JIT written in Python (nightly development build)"
10 depends=('python2' 'libffi' 'openssl-compatibility' 'ncurses' 'expat' 'zlib' 'bzip2')
12 provides=("pypy=$pkgver")
16 if [ "${CARCH}" = "i686" ]; then
17 tarball="pypy-c-jit-latest-linux.tar.bz2"
19 tarball="pypy-c-jit-latest-linux64.tar.bz2"
23 rm -rf pypy-c-jit-*-*-*/
24 wget --timestamping "http://buildbot.pypy.org/nightly/trunk/$tarball"
27 name=pypy-c-jit-*-*-*/
28 #cd "$srcdir/"pypy-c-jit-*-*-*/
30 mkdir -p $pkgdir/usr/share/licenses/$pkgname/
31 cp $srcdir/$name/LICENSE $pkgdir/usr/share/licenses/$pkgname
34 mv $srcdir/$name $pkgdir/opt/pypy
36 mkdir -p $pkgdir/usr/bin/
37 ln -s /opt/pypy/bin/pypy $pkgdir/usr/bin/pypy