diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | SoQt.patch | 11 | ||||
-rw-r--r-- | geant4-full.install | 10 |
4 files changed, 18 insertions, 36 deletions
@@ -1,7 +1,7 @@ pkgbase = geant4-full pkgdesc = A simulation toolkit for particle physics interactions - includes all the optional libraries - pkgver = 11.2.0 - pkgrel = 4 + pkgver = 11.2.1 + pkgrel = 3 url = http://geant4.cern.ch/ install = geant4-full.install arch = x86_64 @@ -38,11 +38,9 @@ pkgbase = geant4-full conflicts = geant4-realsurfacedata conflicts = geant4-saiddata options = !emptydirs - source = http://geant4-data.web.cern.ch/releases/geant4-v11.2.0.tar.gz + source = http://geant4-data.web.cern.ch/releases/geant4-v11.2.1.tar.gz source = geant4-full.install - source = SoQt.patch - sha256sums = 46ad7fab3c5cb4bd0bdd77dd6d3e2283184819235bcbc01b2d117d81b35596a6 - sha256sums = 312ed6a25f3fbfb3832b01ef3958df0b387b59d142fdf5db10ccf8bb112348e3 - sha256sums = 3b5a899436e0f0a614a17604166a0946bf2e206ef66e1161522337a5be7a8d08 + sha256sums = 835db6543d5cb2e801675958965be96877f66d6907bb521954b598b785deae5e + sha256sums = 5fde7b80dcfa960407b1ecb2b2a2aa817250948cc32490d8ece48a5e5b4035c1 pkgname = geant4-full @@ -1,8 +1,8 @@ # Maintainer: Filippo Falezza <filippo dot falezza at outlook dot it> pkgname='geant4-full' -pkgver=11.2.0 -pkgrel=4 +pkgver=11.2.1 +pkgrel=3 pkgdesc="A simulation toolkit for particle physics interactions - includes all the optional libraries" depends=( 'cmake>=3.16' @@ -48,19 +48,19 @@ options=('!emptydirs') source=( "http://geant4-data.web.cern.ch/releases/geant4-v${pkgver}.tar.gz" 'geant4-full.install' - 'SoQt.patch' +# 'SoQt.patch' ) sha256sums=( - "46ad7fab3c5cb4bd0bdd77dd6d3e2283184819235bcbc01b2d117d81b35596a6" - "312ed6a25f3fbfb3832b01ef3958df0b387b59d142fdf5db10ccf8bb112348e3" - "3b5a899436e0f0a614a17604166a0946bf2e206ef66e1161522337a5be7a8d08" + "835db6543d5cb2e801675958965be96877f66d6907bb521954b598b785deae5e" + "5fde7b80dcfa960407b1ecb2b2a2aa817250948cc32490d8ece48a5e5b4035c1" +# "1cf456d2d02afb52378ad6882b1901329ae6437989ecef4ebe1333d116efc3e2" ) install="geant4-full.install" prepare() { cd "${srcdir}" - patch -Np0 -i "${srcdir}"/SoQt.patch + #patch -Np0 -i "${srcdir}"/SoQt.patch } @@ -137,5 +137,10 @@ package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install - ln -s /opt/Geant4/Geant4-v${pkgver}/lib "${pkgdir}"/opt/Geant4/Geant4-v${pkgver}/lib64 + + mkdir -p "${pkgdir}"/usr/include + ln -s /opt/Geant4/Geant4-v${pkgver}/lib ${pkgdir}/opt/Geant4/Geant4-v${pkgver}/lib64 + ln -s /opt/Geant4/Geant4-v${pkgver}/include/Geant4 "${pkgdir}"/usr/include/Geant4 + ln -s /opt/Geant4/Geant4-v${pkgver}/include/Geant4/CLHEP "${pkgdir}"/usr/include/CLHEP + ln -s /opt/Geant4/Geant4-v${pkgver}/include/Geant4/PTL "${pkgdir}"/usr/include/PTL } diff --git a/SoQt.patch b/SoQt.patch deleted file mode 100644 index 6073d1a58c01..000000000000 --- a/SoQt.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- geant4-v11.2.0/cmake/Modules/G4InterfaceOptions.cmake 2023-12-07 10:59:24.000000000 +0100 -+++ G4InterfaceOptions.cmake 2024-01-23 15:14:30.753062336 +0100 -@@ -139,7 +139,7 @@ - geant4_save_package_variables(Inventor Coin_DIR) - - if(GEANT4_USE_INVENTOR_QT) -- find_package(SoQt 1.6.0 REQUIRED) -+ find_package(SoQt 1.6.1 REQUIRED) - geant4_save_package_variables(Inventor SoQt_DIR) - else() - if(UNIX) diff --git a/geant4-full.install b/geant4-full.install index 0c8e1694c288..7b97cd0fbf64 100644 --- a/geant4-full.install +++ b/geant4-full.install @@ -32,17 +32,7 @@ post_upgrade(){ } -post_install(){ - ln -s /usr/include/Geant4/CLHEP /usr/include/CLHEP - ln -s /usr/include/Geant4/PTL /usr/include/PTL -} - pre_remove(){ echo "Backing up Geant4 Libraries. To remove them, please run\n $ sudo rm -Rf /opt/Geant4/Libraries" mv /opt/Geant4/Libraries /opt/Geant4/Lib-backup } - -post_remove(){ - rm /usr/include/CLHEP - rm /usr/include/PTL -} |