Diff geant-data-4.11.0.0 with a geant-data-4.11.1.0
/usr/portage/sci-physics/geant-data/geant-data-4.11.1.0.ebuild 2023-10-09 14:52:35.252368495 +0300 | ||
---|---|---|
10 | 10 |
declare -A DATASETS |
11 | 11 | |
12 | 12 |
DATASETS=( |
13 |
[G4NDL]="G4NDL 4.6 G4NEUTRONHPDATA" |
|
14 |
[G4EMLOW]="G4EMLOW 8.0 G4LEDATA" |
|
13 |
[G4NDL]="G4NDL 4.7 G4NEUTRONHPDATA" |
|
14 |
[G4EMLOW]="G4EMLOW 8.2 G4LEDATA" |
|
15 | 15 |
[PhotonEvaporation]="G4PhotonEvaporation 5.7 G4LEVELGAMMADATA" |
16 | 16 |
[RadioactiveDecay]="G4RadioactiveDecay 5.6 G4RADIOACTIVEDATA" |
17 | 17 |
[G4PARTICLEXS]="G4PARTICLEXS 4.0 G4PARTICLEXSDATA" |
... | ... | |
43 | 43 |
} |
44 | 44 | |
45 | 45 |
src_install() { |
46 |
for DATASET in ${!DATASETS[@]}; do |
|
47 |
read FILENAME VERSION ENVVAR <<< "${DATASETS[$DATASET]}" |
|
48 |
echo $ENVVAR=\"${EPREFIX}/usr/share/geant4/data/${DATASET}${VERSION}\"; |
|
49 |
done >| 99geant-data |
|
50 |
doenvd 99geant-data |
|
51 | 46 |
dodir /usr/share/geant4/data |
52 | 47 |
cd "${ED}/usr/share/geant4/data" || die |
53 | 48 |
unpack ${A} |