diff options
Diffstat (limited to 'extra/octave/PKGBUILD')
-rw-r--r-- | extra/octave/PKGBUILD | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/extra/octave/PKGBUILD b/extra/octave/PKGBUILD index 8aa1bde8a..4fffc3e96 100644 --- a/extra/octave/PKGBUILD +++ b/extra/octave/PKGBUILD @@ -1,35 +1,32 @@ -# $Id: PKGBUILD 168608 2012-10-13 11:48:28Z andyrtr $ +# $Id: PKGBUILD 171914 2012-11-23 13:37:21Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor : shining <shiningxc.at.gmail.com> # Contributor : cyberdune <cyberdune@gmail.com> pkgname=octave -pkgver=3.6.2 -pkgrel=2 +pkgver=3.6.3 +pkgrel=1 pkgdesc="A high-level language, primarily intended for numerical computations." arch=('i686' 'x86_64') url="http://www.octave.org" license=('GPL') -depends=('fftw' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull' 'fltk' 'suitesparse') -makedepends=('texinfo' 'graphicsmagick' 'gcc-fortran' 'suitesparse' 'texlive-core') +depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk' 'suitesparse' 'arpack') +makedepends=('gcc-fortran' 'texlive-core') optdepends=('texinfo: for help-support in octave' 'gnuplot: alternative plotting') -source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2" - buildfix.diff +source=(ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2{,.sig} octave-gethelp.patch) options=('!emptydirs') install=octave.install -sha1sums=('145fef0122268086727a60e1c33e29d56fd546d7' - 'a7cdba1e05fbdd182facdd804aeec37729255551' +sha1sums=('e8bd0c0b33ab9714ddb524f2258546c3536f0628' + 'de009a9e6803de6b831cbd836cbc85c291de8a3c' 'd39d54763ac86114029f8bc5d60763d2adce27bb') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" - # patch by Gentoo http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/octave/files/octave-3.4.3-gets.patch?view=log - patch -Np0 -i ${srcdir}/buildfix.diff # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/octave/files/octave-3.4.3-help.patch?view=log - patch -Np0 -i ${srcdir}/octave-gethelp.patch + patch -Np0 -i "${srcdir}/octave-gethelp.patch" autoreconf -vfi @@ -44,11 +41,11 @@ build() { } package(){ - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install # add octave library path to ld.so.conf.d - install -d ${pkgdir}/etc/ld.so.conf.d - echo "/usr/lib/${pkgname}/${pkgver}" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf + install -d "${pkgdir}/etc/ld.so.conf.d" + echo "/usr/lib/${pkgname}/${pkgver}" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf" } |