diff options
author | Alexander Kobel | 2016-02-13 02:04:34 +0100 |
---|---|---|
committer | Alexander Kobel | 2016-02-13 02:04:36 +0100 |
commit | 1e82c33ad302ba37a9a3e78a001cdf8b9cb75358 (patch) | |
tree | 425ac3814fc9aa5e0de823fbdaae8732f30595e9 | |
parent | 0a11e6bf6a45ced6b3cd3c6506d61aafa69af3a8 (diff) | |
download | aur-1e82c33ad302ba37a9a3e78a001cdf8b9cb75358.tar.gz |
Update to 3.1.4-3
fix PKGBUILD if octave bindings are not built
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by makepkg 5.0.0 -# Fri Feb 12 15:22:41 UTC 2016 +# Sat Feb 13 01:03:12 UTC 2016 pkgbase = mpsolve pkgdesc = Multiprecision rootfinder for complex roots of univariate polynomials pkgver = 3.1.4 - pkgrel = 2 + pkgrel = 3 url = http://numpi.dm.unipi.it/software/mpsolve arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=mpsolve pkgver=3.1.4 -pkgrel=2 +pkgrel=3 pkgdesc="Multiprecision rootfinder for complex roots of univariate polynomials" url="http://numpi.dm.unipi.it/software/mpsolve" arch=('i686' 'x86_64') @@ -29,5 +29,7 @@ check () { package () { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install - sed -e "s/$(echo "${pkgdir}" | sed -e 's/[\/&]/\\&/g')//g" -i ${pkgdir}/usr/share/octave/octave_packages + if [ -f ${pkgdir}/usr/share/octave/octave_packages ]; then + sed -e "s/$(echo "${pkgdir}" | sed -e 's/[\/&]/\\&/g')//g" -i ${pkgdir}/usr/share/octave/octave_packages + fi } |