updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-scipy-svn-new / PKGBUILD
blobf15a48aaf7fc4473689b10d2d0f80508254919e5
1 # $Id: PKGBUILD,v 1.5 2008/05/18 22:17:27 BaSh Exp $
2 # Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
4 pkgname=python-scipy-svn-new
5 pkgver=5003
6 pkgrel=1
7 pkgdesc="SciPy (pronounced 'Sigh Pie') is open-source software for
8 mathematics, science, and engineering. Development version fom SVN"
9 arch=('i686' 'x86_64')
10 url="http://www.scipy.org"
11 license=('BSD')
12 depends=('python-numpy')
13 conflicts=('scipy' 'scipy_core' 'python-scipy')
14 source=()
15 md5sums=()
17 _svntrunk=http://svn.scipy.org/svn/scipy/trunk
18 _svnmod=scipy
20 build() {
21   # check out sources
22   cd ${srcdir}
24   if [ -d $_svnmod/.svn ]; then
25     (cd $_svnmod && svn up -r $pkgver)
26   else
27     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28   fi
30   msg "SVN checkout done or server timeout"
31   msg "Starting make..."
33   cp -r $_svnmod $_svnmod-build
34   cd $_svnmod-build
36   python setup.py config_fc --fcompiler=gnu95 build || return 1
37   python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$startdir/pkg
39   install -D -m644 LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt
42 # vim:syntax=sh