summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0594ec96dd46ccc49df19a4cedeaf0600024257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: L.G. Sarmiento (Pico) <Luis.Sarmientop-ala-nuclear.lu.se>
pkgname=geant4-piidata
_dataname="G4PII"
pkgver=1.3
pkgrel=4
pkgdesc="Data files for shell ionisation cross-sections"
url="http://geant4.cern.ch/"
arch=('any')
license=('GPL')
depends=('geant4>=9.6.2')
#it cannot be optdepend since we require the geant4.sh file to exist
#to setup the environment variable
install="${pkgname}.install"
source=("https://cern.ch/geant4-data/datasets/${_dataname}.${pkgver}.tar.gz"
  "${pkgname}.install")
sha256sums=('6225ad902675f4381c98c6ba25fc5a06ce87549aa979634d3d03491d6616e926'
            'a414b370d8b3dffb488b242a9892cd72c875772cfc99e16b1a0dce543b2cb25b')

## Remove this if you want to keep an even smaller package
## No need to wait for compression when just installing it.
PKGEXT='.pkg.tar'

package() {
  install -d ${pkgdir}/usr/share/${pkgname}
  mv ${srcdir}/${_dataname}${pkgver} ${pkgdir}/usr/share/${pkgname}
}