blob: d047d8248e3d0c1a08cbc7c7a8827f6f01fdfcb9 (
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
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: ReneganRonin <renegan.ronin@gmail.com>
# Maintainer: w568w <w568w at outlook dot com>
_name=delphes-madgraph
pkgname=${_name}-git
pkgver=3.5.1pre12.r13.g98f15ad
pkgrel=2
pkgdesc="A framework for fast simulation of a generic collider experiment (compiled by make instead of CMake for MadGraph. Can be coexisted with delphes)"
url="http://cp3.irmp.ucl.ac.be/projects/delphes"
conflicts=("$_name")
provides=('delphes' "$_name")
arch=('i686' 'x86_64')
license=('GPL-3.0')
install=delphes-madgraph-note.install
depends=("root"
"cern-vdt")
makedepends=('make')
optdepends=('madgraph: this package provides Delphes interface for MadGraph')
source=("${pkgname}::git+https://github.com/delphes/delphes.git"
"delphes-madgraph-note.install")
sha256sums=('SKIP'
'a1e48cc00f0a816b761ed5d7454ccef86ab89fb47f4e7f91a3716b80177015a0')
pkgver() {
cd "$srcdir"/$pkgname
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}
build() {
cd "$srcdir"/$pkgname
make
rm --recursive --force "$srcdir/$pkgname/tmp"
}
package() {
install -dm755 "$pkgdir/opt/Delphes"
cp --recursive "$srcdir/$pkgname/"* "$pkgdir/opt/Delphes/"
}
|