diff options
author | Kevin McCormack | 2018-12-01 19:03:18 -0500 |
---|---|---|
committer | Kevin McCormack | 2018-12-01 19:03:18 -0500 |
commit | 9d8945d6c695a340b5311515d3531ce51937a39c (patch) | |
tree | d5ce9595ff99b1a1b0c8d6a8b2485c92a068ae4d /PKGBUILD | |
parent | 796e5219598ef50e1c0321786be507266743d99e (diff) | |
download | aur-9d8945d6c695a340b5311515d3531ce51937a39c.tar.gz |
Limit libgfortran file find to 1
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" } |