updated on Thu Jan 12 00:00:55 UTC 2012
[aur-mirror.git] / unladen-swallow / PKGBUILD
blob68818d3671404c65c49d8e5a1bdd9576b22abb88
1 # Contributor: Bruno Galeotti <bravox87 at gmail dot com>
2 pkgname=unladen-swallow
3 pkgver=2009Q4
4 pkgrel=1
5 pkgdesc="Python compiled with LLVM (a quicker Python than CPython)"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/unladen-swallow/"
8 license=('custom')
9 depends=('db' 'bzip2' 'gdbm' 'openssl>=0.9.8d' 'zlib')
10 makedepends=('subversion' 'tk>=8.5.0' 'sqlite3')
11 provides=('python=2.6.4-1')
12 conflicts=('python')
13 _svntrunk=http://unladen-swallow.googlecode.com/svn/branches/release-2009Q4-maint
14 _svnmod=unladen
16 build() {
17   cd ${srcdir}
18   if [ -d $_svnmod/.svn ]; then
19     (cd $_svnmod && svn up -r $pkgver)
20   else
21     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
22   fi
23   msg "SVN checkout done or server timeout"
24   cd $_svnmod
26   msg "Configuring..."
27   #./configure --prefix=/usr --enable-shared --with-threads --enable-unicode
28   ./configure --prefix=/usr
30   msg "Building..."
31   make || return 1
32   make DESTDIR="$pkgdir/" install
34   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
37 # vim:set ts=2 sw=2 et: