diff options
| author | Guilherme Amadio <amadio@gentoo.org> | 2023-12-13 15:31:09 +0100 |
|---|---|---|
| committer | Guilherme Amadio <amadio@gentoo.org> | 2023-12-13 15:39:30 +0100 |
| commit | 7c06a03c60735fbe26e9449c8cb2c405986aec58 (patch) | |
| tree | e77be24127a436e7bfbdaef5b36ab9feaeab29db /app-doc/geant-docs/geant-docs-4.11.2.ebuild | |
| parent | 6f1df373eb964bd8d658772bdff891dd48af3e7d (diff) | |
| download | gentoo-7c06a03c60735fbe26e9449c8cb2c405986aec58.tar.gz gentoo-7c06a03c60735fbe26e9449c8cb2c405986aec58.tar.bz2 gentoo-7c06a03c60735fbe26e9449c8cb2c405986aec58.zip | |
app-doc/geant-docs: add 4.11.2
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'app-doc/geant-docs/geant-docs-4.11.2.ebuild')
| -rw-r--r-- | app-doc/geant-docs/geant-docs-4.11.2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-doc/geant-docs/geant-docs-4.11.2.ebuild b/app-doc/geant-docs/geant-docs-4.11.2.ebuild new file mode 100644 index 000000000000..ec36bdb51e51 --- /dev/null +++ b/app-doc/geant-docs/geant-docs-4.11.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=V$(ver_cut 2-3) + +DESCRIPTION="User documentation for Geant4 physics simulation toolkit" +HOMEPAGE="https://geant4.web.cern.ch/support/user_documentation" +SRC_DOC="https://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides" +SRC_URI=" + ${SRC_DOC}/FAQ/BackupVersions/${MY_PV}/fo/BookFAQ.pdf + -> BookFAQ-${PV}.pdf + ${SRC_DOC}/ForApplicationDeveloper/BackupVersions/${MY_PV}/fo/BookForApplicationDevelopers.pdf + -> BookForApplicationDevelopers-${PV}.pdf + ${SRC_DOC}/ForToolkitDeveloper/BackupVersions/${MY_PV}/fo/BookForToolkitDevelopers.pdf + -> BookForToolkitDevelopers-${PV}.pdf + ${SRC_DOC}/InstallationGuide/BackupVersions/${MY_PV}/fo/Geant4InstallationGuide.pdf + -> Geant4InstallationGuide-${PV}.pdf + ${SRC_DOC}/IntroductionToGeant4/BackupVersions/${MY_PV}/fo/IntroductionToGeant4.pdf + -> IntroductionToGeant4-${PV}.pdf + ${SRC_DOC}/PhysicsListGuide/BackupVersions/${MY_PV}/fo/PhysicsListGuide.pdf + -> PhysicsListGuide-${PV}.pdf + ${SRC_DOC}/PhysicsReferenceManual/BackupVersions/${MY_PV}/fo/PhysicsReferenceManual.pdf + -> PhysicsReferenceManual-${PV}.pdf +" + +LICENSE="geant4" +SLOT="4" +KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux" +IUSE="" + +S="${DISTDIR}" + +src_unpack() { + : # empty, nothing to unpack +} + +src_install() { + local doc + for doc in *.pdf; do + newdoc ${doc} ${doc/-${PV}}; + done +} |
