[arch-commits] Commit in (hepmc2 hepmc2/repos hepmc2/trunk hepmc2/trunk/PKGBUILD)

Konstantin Gizdov kgizdov at archlinux.org
Mon May 25 16:32:10 UTC 2020


    Date: Monday, May 25, 2020 @ 16:32:10
  Author: kgizdov
Revision: 634678

put hepmc2 in separate package

Added:
  hepmc2/
  hepmc2/repos/
  hepmc2/trunk/
  hepmc2/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Added: hepmc2/trunk/PKGBUILD
===================================================================
--- hepmc2/trunk/PKGBUILD	                        (rev 0)
+++ hepmc2/trunk/PKGBUILD	2020-05-25 16:32:10 UTC (rev 634678)
@@ -0,0 +1,26 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
+pkgname=hepmc2
+_pkgname=hepmc
+pkgver=2.06.10
+pkgrel=1
+pkgdesc="A particle physics package for storing collision events from Monte Carlo generators"
+arch=('x86_64')
+url="http://hepmc.web.cern.ch/"
+license=('GPL2')
+depends=('bash')
+makedepends=('cmake')
+source=("${pkgname}-${pkgver}.tar.gz::http://hepmc.web.cern.ch/${_pkgname}/releases/${_pkgname}${pkgver}.tgz")
+sha256sums=('5adedd9e3f7447e1e5fc01b72f745ab87da2c1611df89208bb3d7c6ea94c11a4')
+
+build() {
+    mkdir build
+    cd build
+    cmake "${srcdir}/HepMC-${pkgver}" -DCMAKE_INSTALL_PREFIX:PATH=/usr -Dmomentum=GEV -Dlength=MM
+    make
+}
+
+package() {
+    cd "${srcdir}/build"
+    make DESTDIR="${pkgdir}/" install
+}


More information about the arch-commits mailing list