[arch-commits] Commit in hepmc/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 20:20:48 UTC 2021
Date: Wednesday, December 1, 2021 @ 20:20:48
Author: felixonmars
Revision: 1060705
archrelease: copy trunk to community-staging-x86_64
Added:
hepmc/repos/community-staging-x86_64/PKGBUILD
(from rev 1060704, hepmc/trunk/PKGBUILD)
Deleted:
hepmc/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-01 20:20:37 UTC (rev 1060704)
+++ PKGBUILD 2021-12-01 20:20:48 UTC (rev 1060705)
@@ -1,64 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
-
-pkgbase=hepmc
-pkgname=("${pkgbase}" "${pkgbase}-docs")
-_pkgname=HepMC3
-pkgver=3.2.4
-pkgrel=3
-pkgdesc="A particle physics package for storing collision events from Monte Carlo generators"
-arch=('x86_64')
-url="http://hepmc.web.cern.ch/"
-license=('GPL3')
-depends=('bash')
-makedepends=('cmake' 'doxygen' 'hepmc2' 'gcc-fortran' 'graphviz' 'root' 'pythia8' 'python')
-optdepends=('root: ROOT I/O'
- 'pythia8: Pythia support'
- 'python: Python interface')
-source=("${pkgbase}-${pkgver}.tar.gz::http://hepmc.web.cern.ch/${pkgbase}/releases/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('e088fccfd1a6c2f8e1089f457101bee1e5c7a9777e9d51c6419c8a288a49e1bb')
-
-build() {
- mkdir build
- cd build
- PYTHIA8_ROOT_DIR=/usr \
- cmake "${srcdir}/${_pkgname}-${pkgver}" \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DHEPMC3_PYTHON_VERSIONS='3.X' \
- -DHEPMC3_ENABLE_TEST=ON \
- -DHEPMC3_BUILD_DOCS=ON \
- -DHEPMC3_BUILD_EXAMPLES=ON \
- -DHEPMC3_INSTALL_INTERFACES=ON \
- -DUSE_INTERFACE_FROM_PYTHIA8=ON \
- -DPYTHIA8_XMLDOC_DIR=/usr/share/pythia8/xmldoc
- make
-}
-
-package_hepmc() {
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}/" install
- # fix CMake
- install -d "${pkgdir}/usr/lib/cmake"
- mv "${pkgdir}/usr/share/HepMC3/cmake" "${pkgdir}/usr/lib/cmake/${_pkgname}"
- sed -i 's@${CMAKE_CURRENT_LIST_DIR}/../../../@/usr@' \
- "${pkgdir}/usr/lib/cmake/${_pkgname}/${_pkgname}Config.cmake"
- # drop docs
- rm -rf "${pkgdir}"/usr/share/doc
-}
-
-package_hepmc-docs() {
- depends=()
- pkgdesc="A particle physics package for storing collision events from Monte Carlo generators (Documentation)"
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}/" install
- # fix CMake
- install -d "${pkgdir}/usr/lib/cmake"
- mv "${pkgdir}/usr/share/HepMC3/cmake" "${pkgdir}/usr/lib/cmake/${_pkgname}"
- sed -i 's@${CMAKE_CURRENT_LIST_DIR}/../../../@/usr@' \
- "${pkgdir}/usr/lib/cmake/${_pkgname}/${_pkgname}Config.cmake"
- # drop everything, but docs
- rm -rf "${pkgdir}"/usr/bin
- rm -rf "${pkgdir}"/usr/include
- rm -rf "${pkgdir}"/usr/lib
- rm -rf "${pkgdir}"/usr/share/HepMC3
-}
Copied: hepmc/repos/community-staging-x86_64/PKGBUILD (from rev 1060704, hepmc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-01 20:20:48 UTC (rev 1060705)
@@ -0,0 +1,64 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
+
+pkgbase=hepmc
+pkgname=("${pkgbase}" "${pkgbase}-docs")
+_pkgname=HepMC3
+pkgver=3.2.4
+pkgrel=4
+pkgdesc="A particle physics package for storing collision events from Monte Carlo generators"
+arch=('x86_64')
+url="http://hepmc.web.cern.ch/"
+license=('GPL3')
+depends=('bash')
+makedepends=('cmake' 'doxygen' 'hepmc2' 'gcc-fortran' 'graphviz' 'root' 'pythia8' 'python')
+optdepends=('root: ROOT I/O'
+ 'pythia8: Pythia support'
+ 'python: Python interface')
+source=("${pkgbase}-${pkgver}.tar.gz::http://hepmc.web.cern.ch/${pkgbase}/releases/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('e088fccfd1a6c2f8e1089f457101bee1e5c7a9777e9d51c6419c8a288a49e1bb')
+
+build() {
+ mkdir build
+ cd build
+ PYTHIA8_ROOT_DIR=/usr \
+ cmake "${srcdir}/${_pkgname}-${pkgver}" \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DHEPMC3_PYTHON_VERSIONS='3.X' \
+ -DHEPMC3_ENABLE_TEST=ON \
+ -DHEPMC3_BUILD_DOCS=ON \
+ -DHEPMC3_BUILD_EXAMPLES=ON \
+ -DHEPMC3_INSTALL_INTERFACES=ON \
+ -DUSE_INTERFACE_FROM_PYTHIA8=ON \
+ -DPYTHIA8_XMLDOC_DIR=/usr/share/pythia8/xmldoc
+ make
+}
+
+package_hepmc() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+ # fix CMake
+ install -d "${pkgdir}/usr/lib/cmake"
+ mv "${pkgdir}/usr/share/HepMC3/cmake" "${pkgdir}/usr/lib/cmake/${_pkgname}"
+ sed -i 's@${CMAKE_CURRENT_LIST_DIR}/../../../@/usr@' \
+ "${pkgdir}/usr/lib/cmake/${_pkgname}/${_pkgname}Config.cmake"
+ # drop docs
+ rm -rf "${pkgdir}"/usr/share/doc
+}
+
+package_hepmc-docs() {
+ depends=()
+ pkgdesc="A particle physics package for storing collision events from Monte Carlo generators (Documentation)"
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+ # fix CMake
+ install -d "${pkgdir}/usr/lib/cmake"
+ mv "${pkgdir}/usr/share/HepMC3/cmake" "${pkgdir}/usr/lib/cmake/${_pkgname}"
+ sed -i 's@${CMAKE_CURRENT_LIST_DIR}/../../../@/usr@' \
+ "${pkgdir}/usr/lib/cmake/${_pkgname}/${_pkgname}Config.cmake"
+ # drop everything, but docs
+ rm -rf "${pkgdir}"/usr/bin
+ rm -rf "${pkgdir}"/usr/include
+ rm -rf "${pkgdir}"/usr/lib
+ rm -rf "${pkgdir}"/usr/share/HepMC3
+}
More information about the arch-commits
mailing list