upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / hepmc2 / trunk / PKGBUILD
blob37446777c5acd31e0804d00a5ed6d612dd741b5d
1 # Maintainer: Konstantin Gizdov <arch at kge dot pw>
2 # Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
3 pkgname=hepmc2
4 _pkgname=hepmc
5 pkgver=2.06.11
6 pkgrel=2
7 pkgdesc="A particle physics package for storing collision events from Monte Carlo generators"
8 arch=('x86_64')
9 url="http://hepmc.web.cern.ch/"
10 license=('GPL2')
11 depends=('bash')
12 makedepends=('cmake')
13 source=("${pkgname}-${pkgver}.tar.gz::http://hepmc.web.cern.ch/${_pkgname}/releases/${_pkgname}${pkgver}.tgz")
14 sha256sums=('86b66ea0278f803cde5774de8bd187dd42c870367f1cbf6cdaec8dc7cf6afc10')
16 build() {
17     mkdir build
18     cd build
19     cmake "${srcdir}/HepMC-${pkgver}" -DCMAKE_INSTALL_PREFIX:PATH=/usr -Dmomentum=GEV -Dlength=MM
20     make
23 package() {
24     cd "${srcdir}/build"
25     make DESTDIR="${pkgdir}/" install