blob: e09e446164716974f16b3752d0dc3e80d8135b95 (
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.2
pkgrel=2
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')
source=(http://www.hepforge.org/archive/openloops/OpenLoops-$pkgver.tar.gz)
md5sums=('895f9b8a31ee8854d6323e3bed3b5eb8')
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
}
|