diff options
author | Anton | 2019-06-08 16:40:06 +0300 |
---|---|---|
committer | Anton | 2019-06-08 16:40:06 +0300 |
commit | 3b2fd416a2cae456278144ad2544a7280e5c8a3b (patch) | |
tree | 3092c4130f56c53560605742ae7c296bebc9a1b7 /PKGBUILD | |
parent | a40d4402b7003bfabba7e4e41536cbe818176bd5 (diff) | |
download | aur-3b2fd416a2cae456278144ad2544a7280e5c8a3b.tar.gz |
Minuit2 replaced with root
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -2,24 +2,26 @@ pkgname=gsim pkgver=21.3 -pkgrel=2 +pkgrel=3 pkgdesc="A tool for visualisation and processing of NMR spectra" arch=('x86_64') url="https://sourceforge.net/projects/gsim" license=('GPL') -depends=('minuit2' 'muparser' 'qt5-svg' 'libcmatrix' 'libemf' 'hicolor-icon-theme') -makedepends=('imagemagick' 'sed') +depends=('root' 'muparser' 'qt5-svg' 'libcmatrix' 'libemf' 'hicolor-icon-theme') +makedepends=('imagemagick' 'sed' 'gcc') conflicts=("$pkgname-bin" "$pkgname-git") source=("http://downloads.sourceforge.net/${pkgname}/${pkgver:0:2}/${pkgname}-${pkgver}.tar.gz") sha256sums=('d3dd161078862fa990b40ff5df988bb82c8469e17dda8e81eda5f1419742de47') prepare() { cd $srcdir/$pkgname-$pkgver - sed -i "s/#CONFIG+=use_opengl/CONFIG+=use_opengl/g" $pkgname.pro + sed -i "s/#CONFIG+=use_opengl/CONFIG+=use_opengl/g" $pkgname.pro + + # Fix headers and library directories sed -i "/Minuit2\/include/d" $pkgname.pro sed -i "/muparser\/include/d" $pkgname.pro - sed -i "/unix:INCLUDEPATH/c\unix:INCLUDEPATH += \/usr\/include\/libcmatrix \/usr\/include" $pkgname.pro - sed -i "/unix:LIBS/c\unix:LIBS += -lcmatrix -lMinuit2 -lmuparser -lEMF -lgomp" $pkgname.pro + sed -i "/unix:INCLUDEPATH/c\unix:INCLUDEPATH += \/usr\/include\/libcmatrix \/usr\/include\/root" $pkgname.pro + sed -i "/unix:LIBS/c\unix:LIBS += -lcmatrix -L\/usr\/lib\/root -lMinuit2 -lmuparser -lEMF -lgomp" $pkgname.pro # Enable EMF support sed -i "s/USE_EMF_OUTPUT/USE_EMF_OUTPUT Q_WS_X11/g" $pkgname.pro |