Package Details: cernlib 2023.10.31.0-1

Git Clone URL: https://aur.archlinux.org/cernlib.git (read-only, click to copy)
Package Base: cernlib
Description: A large collection of CERN libraries and tools for high energy physics, e.g. PAW and GEANT 3.21.
Upstream URL: https://cernlib.web.cern.ch/index.html
Keywords: cernlib
Licenses: GPL3
Submitter: cbpark
Maintainer: fsiegert
Last Packager: fsiegert
Votes: 1
Popularity: 0.000034
First Submitted: 2016-07-23 12:23 (UTC)
Last Updated: 2024-01-09 15:28 (UTC)

Pinned Comments

fsiegert commented on 2022-11-14 09:03 (UTC)

@MarsSeed, @all

I have uploaded a PKGBUILD that builds from source based on the new maintenance release 2022.11.08.0 (thanks to and with the help from Andrii Verbytskyi). I am not a user of cernlib though, so cannot test in detail and rely on others to test and report possible improvements (or take over (co-)maintainership directly if they want).

Latest Comments

fsiegert commented on 2023-08-07 09:19 (UTC)

Thanks @banana-bred, I have fixed this.

banana-bred commented on 2023-07-27 17:28 (UTC) (edited on 2023-07-27 17:29 (UTC) by banana-bred)

The current PKGBUILD has an empty string in the optdepends array, which creates an empty key in the .SRCINFO file. This stops Paru, and maybe some other AUR helpers, in its tracks. The package builds well manually. Removing the empty string (or even the empty array declaration) should fix this.

diff --git a/PKGBUILD b/PKGBUILD
index a2bb589..5d20710 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ arch=('x86_64' 'i686')
 url="https://cernlib.web.cern.ch/index.html"
 license=('GPL3')
 depends=('cmake' 'make' 'openssl' 'lapack' 'blas' 'gcc' 'libnsl' 'gcc-fortran' 'openmotif' 'git' 'freetype2' 'gawk' 'libxau' 'libxaw' 'freetype2' 'bc' 'findutils' 'xbae')
-optdepends=('')
+optdepends=()
 source=("https://cernlib.web.cern.ch/cernlib/download/2022_source/tar/cernlib-${pkgver}.tar.gz"
         )
 noextract=()

fsiegert commented on 2022-11-14 09:03 (UTC)

@MarsSeed, @all

I have uploaded a PKGBUILD that builds from source based on the new maintenance release 2022.11.08.0 (thanks to and with the help from Andrii Verbytskyi). I am not a user of cernlib though, so cannot test in detail and rely on others to test and report possible improvements (or take over (co-)maintainership directly if they want).

MarsSeed commented on 2022-03-02 15:42 (UTC)

Should be built from source, not repackaged from old binaries.

Also, there is an unofficial maintenance fork which fixes a lot of build and dependency issues with modern systems:

https://github.com/apc-llc/cernlib.git

Therefore I suggest this would best be replaced by a -git package following the aforementioned fork.

(There are no tagged releases in that Git repository. But the commits are only patching the last two releases from 2005 and 2006.)

cbpark commented on 2016-11-22 05:06 (UTC)

Thank you. rpmextract has been removed. I checked that bsdtar extracts rpm files successfully.

Scimmia commented on 2016-11-22 02:24 (UTC)

No, makepkg detects them and extracts them with bsdtar, which has supported rpm for a long time now. rpmextract is useless; in fact, all it does is call bsdtar.

cbpark commented on 2016-11-21 03:15 (UTC)

@Scimmia The files are in the rpm format, so rpmextract is used to extract them. Would makepkg detect them and automatically use rpmextract?

Scimmia commented on 2016-11-20 18:46 (UTC)

Why are you extracting the source files manually? makepkg already does it.