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 /PKGBUILD | |
parent | e76f0b35491cd2bbcf76260baf986c6a6d32f931 (diff) | |
download | aur-050b2f32e91a12497418e757a59db53082136029.tar.gz |
Update to 3.1.4-4
fix PKGBUILD if octave bindings are not built
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 } |