From 851376cd7720e1f9b35e0a7c26bfd66399f0c4d3 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 Dec 2011 23:14:41 +0000 Subject: Sat Dec 3 23:14:41 UTC 2011 --- community/root/PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'community/root') diff --git a/community/root/PKGBUILD b/community/root/PKGBUILD index a324faead..32d5ad0a3 100644 --- a/community/root/PKGBUILD +++ b/community/root/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Sebastian Voecking pkgname=root -pkgver=5.30.05 +pkgver=5.32.00 pkgrel=1 pkgdesc='C++ data analysis framework and interpreter from CERN.' arch=('i686' 'x86_64') @@ -12,11 +12,12 @@ depends=('avahi' 'desktop-file-utils' 'ftgl' 'giflib' 'glew' 'graphviz' 'gsl' 'l 'libxft' 'postgresql-libs' 'python2' 'unixodbc' 'shared-mime-info' 'xmlrpc-c' 'xorg-fonts-75dpi' 'mesa' 'gcc-fortran' 'hicolor-icon-theme') makedepends=('fftw') install='root.install' +options=('!emptydirs') source=("ftp://root.cern.ch/root/root_v${pkgver}.source.tar.gz" 'root.sh' 'rootd' 'root.xml') -md5sums=('195de7e75fcd6c260d4f78ba943d48df' +md5sums=('1c30e4e6eeae62ff1ad5118cd1309679' '0e883ad44f99da9bc7c23bc102800b62' 'efd06bfa230cc2194b38e0c8939e72af' 'e2cf69b204192b5889ceb5b4dedc66f7') @@ -31,7 +32,9 @@ build() { fi # python2 switch - find . -type f -exec sed -i -e 's/python -O/python2 -O/g' -e 's/python -c/python2 -c/g' {} \; + find . -type f -exec sed -i -e 's_#!/usr/bin/env python_&2_' \ + -e 's/python -O/python2 -O/g' \ + -e 's/python -c/python2 -c/g' {} \; sed \ -e 's/python 2/python2 2/g' \ -i configure @@ -58,8 +61,7 @@ build() { --enable-roofit \ --enable-python \ --with-python-incdir=/usr/include/python2.7 \ - --with-python-libdir=/usr/lib \ - --enable-explicitlink + --with-python-libdir=/usr/lib # move from aur #--disable-builtin-afterimage \ -- cgit v1.2.3-54-g00ecf