diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -10,12 +10,12 @@ pkgdesc="High-energy physics events generator." arch=('i686' 'x86_64') url="http://home.thep.lu.se/Pythia/" license=('GPL') +provides=('pythia' 'pythia8') depends=('bash' 'boost' 'boost-libs') optdepends=('fastjet: fast jet finding in pp and e+e- collisions' 'hepmc: storing collisions from Monte Carlo' 'lhapdf: evaluate PDFs from discretised data files' 'root: integrate with CERN ROOT data analysis framework') -provides=('pythia' 'pythia8') install=pythia.install source=("http://home.thep.lu.se/~torbjorn/pythia8/$_pkgid.tgz" "pythia.sh" @@ -26,15 +26,16 @@ sha256sums=('36fda65eed5e9b8cd9f7e6352a4bcb56868595539fa3d2c02814c6d4b738f837' 'f1796729b0403026382bca43329692f5356c8ec46fc2c09f799a8b3d12d49a6f' '54efb472bc7b23287125f1a4d797b08e0b85864ff727e420eaf81a6fef2ebc25') options=('!emptydirs') -_srcpath=$srcdir/$_pkgid +_srcpath=${srcdir}/${_pkgid} prepare() { - cd $srcdir/$_pkgid + cd ${srcdir}/${_pkgid} + msg2 'Applying patches...' patch -p1 -i ${srcdir}/respect_lib_suffix.patch } build() { - cd $srcdir/$_pkgid + cd ${srcdir}/${_pkgid} _inc=/usr/include/ _lib=/usr/lib/ |