1 # Maintainer: Marti Raudsepp <marti@juffo.org>
2 # Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
6 pkgdesc="Python interpreter and JIT written in Python"
9 depends=('python2' 'libffi' 'openssl-compatibility' 'ncurses' 'expat' 'zlib' 'bzip2')
11 provides=("pypy=$pkgver")
14 [ "${CARCH}" = "i686" ] && source=(https://bitbucket.org/pypy/pypy/downloads/pypy-$pkgver-linux.tar.bz2)
15 [ "${CARCH}" = "x86_64" ] && source=(https://bitbucket.org/pypy/pypy/downloads/pypy-$pkgver-linux64.tar.bz2)
16 [ "${CARCH}" = "i686" ] && md5sums=('8a6e2583902bc6f2661eb3c96b45f4e3')
17 [ "${CARCH}" = "x86_64" ] && md5sums=('ceb8dfe7d9d1aeb558553b91b381a1a8')
26 mkdir -p $pkgdir/usr/share/licenses/$pkgname/
27 cp $srcdir/$name/LICENSE $pkgdir/usr/share/licenses/$pkgname
30 mv $srcdir/$name $pkgdir/opt/pypy
32 mkdir -p $pkgdir/usr/bin/
33 ln -s /opt/pypy/bin/pypy $pkgdir/usr/bin/pypy