summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 80158f692fd9a488eff8de611582a49372528e80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Frank Siegert <frank.siegert@googlemail.com>
pkgname=openloops
pkgver=2.1.1
pkgrel=1
pkgdesc="A particle physics package for the fast numerical evaluation of tree and one-loop matrix elements."
arch=('x86_64' 'i686')
url="http://openloops.hepforge.org"
license=('GPL3')
depends=('gcc-fortran' 'scons' 'python2')
source=(http://www.hepforge.org/archive/openloops/OpenLoops-$pkgver.tar.gz)
md5sums=('f9948f58d45950956f801f35a9242f41')

build() {
	cd "$srcdir/OpenLoops-$pkgver"
}

package() {
        cd "$srcdir/OpenLoops-$pkgver"
        mkdir -p $pkgdir/usr/lib/openloops/
        cp -rp * $pkgdir/usr/lib/openloops/

        cd $pkgdir/usr/lib/openloops/
        rm ./scons
        ln -s /usr/bin/scons
        scons
        ./openloops libinstall ppllj pptt ppvv ppvj
        
        rm -rf authors.txt COPYING examples include ltest.dat process_obj/ process_src/ README scons-local .sconsign.dblite
}