diff options
Diffstat (limited to 'community/root/PKGBUILD')
-rw-r--r-- | community/root/PKGBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/root/PKGBUILD b/community/root/PKGBUILD index cfea810b2..d85a132a4 100644 --- a/community/root/PKGBUILD +++ b/community/root/PKGBUILD @@ -3,7 +3,7 @@ pkgname=root pkgver=5.30.00 -pkgrel=2 +pkgrel=5 pkgdesc='C++ data analysis framework and interpreter from CERN.' arch=('i686' 'x86_64' 'mips64el') url='http://root.cern.ch' @@ -40,7 +40,15 @@ build() { # python2 switch find . -type f -exec sed -i -e 's/python -O/python2 -O/g' -e 's/python -c/python2 -c/g' {} \; - sed -i 's/python 2/python2 2/g' configure + sed \ + -e 's/python 2/python2 2/g' \ + -i configure + sed \ + -e 's/python $(pkgpyexecdir)/python2 $(pkgpyexecdir)/g' \ + -i cint/reflex/python/genreflex/Makefile.am + sed \ + -e 's/python /python2 /' \ + -i config/genreflex.in config/genreflex-rootcint.in ./configure \ ${TARGET} \ @@ -58,7 +66,8 @@ build() { --enable-roofit \ --enable-python \ --with-python-incdir=/usr/include/python2.7 \ - --with-python-libdir=/usr/lib + --with-python-libdir=/usr/lib \ + --enable-explicitlink # move from aur #--disable-builtin-afterimage \ |