diff options
author | Alexander Kobel | 2016-02-13 02:03:55 +0100 |
---|---|---|
committer | Alexander Kobel | 2016-02-13 02:04:00 +0100 |
commit | 050b2f32e91a12497418e757a59db53082136029 (patch) | |
tree | 31fb668942f587410555a78bd5a1114ff9061633 | |
parent | e76f0b35491cd2bbcf76260baf986c6a6d32f931 (diff) | |
download | aur-050b2f32e91a12497418e757a59db53082136029.tar.gz |
Update to 3.1.4-4
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:24:38 UTC 2016 +# Sat Feb 13 01:03:18 UTC 2016 pkgbase = mpsolve-git pkgdesc = Multiprecision rootfinder for complex roots of univariate polynomials pkgver = 3.1.4.r335.ga468e63 - pkgrel = 3 + pkgrel = 4 url = http://numpi.dm.unipi.it/software/mpsolve arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=mpsolve-git pkgver=3.1.4.r335.ga468e63 -pkgrel=3 +pkgrel=4 pkgdesc="Multiprecision rootfinder for complex roots of univariate polynomials" url="http://numpi.dm.unipi.it/software/mpsolve" arch=('i686' 'x86_64') @@ -38,5 +38,7 @@ check () { package () { cd ${srcdir}/MPSolve 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 } |