summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0456f482e264a1119ce017bd621a38437a2c64a (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
# Maintainer: Chan Beom Park <cbpark@gmail.com>

_pkgname=TAUOLA
pkgname=tauola++
pkgver=1.1.8
pkgrel=1
pkgdesc="C++ Interface to Tauola"
arch=("x86_64")
url="http://tauolapp.web.cern.ch/tauolapp"
license=('GPL3')
depends=(gcc-fortran hepmc lhapdf pythia8)
source=("http://tauolapp.web.cern.ch/tauolapp/resources/${_pkgname}.$pkgver/${_pkgname}.$pkgver-LHC.tar.gz")
sha256sums=('3f734e8a967682869cca2c1ffebd3e055562613c40853cc81820d8b666805ed5')

build() {
  cd "${_pkgname}"
  ./configure --prefix=/usr \
              --without-hepmc \
              --with-hepmc3=/usr \
              --with-lhapdf=/usr \
              --with-pythia8=/usr

  make
}

package() {
  cd "${_pkgname}"
  make DESTDIR="$pkgdir" install
  install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}