summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a0ef1512bdbcdcc5ce6157325e4dc96d17a5a6a (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=PHOTOS
pkgname=photos
pkgver=3.64
pkgrel=1
pkgdesc="C++ Interface to PHOTOS"
arch=("x86_64")
url="http://photospp.web.cern.ch/photospp"
license=('unknown')
depends=(gcc-fortran hepmc pythia8 tauola++)
source=("http://photospp.web.cern.ch/photospp/resources/${_pkgname}.$pkgver/${_pkgname}.$pkgver.tar.gz")
sha256sums=('92c545d83c0f654ca40949c7e36e79a96230421659a4621cd9ae9c82dd5a30ee')

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

  make
}

package() {
  cd "${_pkgname}"
  make DESTDIR="$pkgdir/usr" install
}