# Maintainer: Chan Beom Park _pkgname=FeynHiggs pkgname=feynhiggs pkgver=2.12.0 pkgrel=1 pkgdesc="FeynHiggs is a Fortran code for the (diagrammatic) calculation of the masses, mixings and much more of the Higgs bosons in the MSSM with real/complex parameters at the highest level of accuracy." arch=("i686" "x86_64") url="http://wwwth.mpp.mpg.de/members/heinemey/feynhiggs/cFeynHiggs.html" license=('GPL3') depends=("gcc-fortran") options=('staticlibs') source=("http://wwwth.mpp.mpg.de/members/heinemey/feynhiggs/newversion/${_pkgname}-$pkgver.tar.gz") sha256sums=('513e8860c3f33220b5468f4d65d328c9c33dce75fb46adfbc5bca1218eefe706') build() { cd "${_pkgname}-$pkgver" ./configure --prefix=/usr --enable-full-g-2 --enable-slhapara sed -i 's/LIBDIR = $(PREFIX)\/lib$(LIBDIRSUFFIX)/LIBDIR = $(PREFIX)\/lib/' makefile make } package() { cd "${_pkgname}-$pkgver" make PREFIX="$pkgdir/usr" install install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" cd $pkgdir/usr/bin; mv fcc fcc-feynhiggs; mv table table-feynhiggs cd $pkgdir/usr/include; mkdir -p FeynHiggs; mv *.h FeynHiggs }