diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ # https://code.alephobjects.com/w/cura-lulzbot/ pkgname=cura-lulzbot pkgver=3.2.32 -pkgrel=2 +pkgrel=3 pkgdesc='Cura LulzBot Edition for LulzBot 3D Printers by Aleph Objects, Inc.' arch=('x86_64') url='https://www.lulzbot.com/cura' @@ -15,7 +15,7 @@ prepare() { # Unpack the tarball containing the 'usr/' directory, # where all the essentials reside within the debian package tar zxf "${srcdir}/data.tar".gz -C "${srcdir}" - fortran_lib_dir=`dirname $(find /usr/lib/gcc/x86_64-pc-linux-gnu/ -name libgfortran.so.3)` + fortran_lib_dir=`dirname $(find /usr/lib/gcc/x86_64-pc-linux-gnu/6* -name libgfortran.so.3 -print -quit)` sed -i "s;LD_LIBRARY_PATH=;LD_LIBRARY_PATH=${fortran_lib_dir}:;" "${srcdir}/usr/bin/cura-lulzbot" } |