summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKevin McCormack2018-12-01 19:03:18 -0500
committerKevin McCormack2018-12-01 19:03:18 -0500
commit9d8945d6c695a340b5311515d3531ce51937a39c (patch)
treed5ce9595ff99b1a1b0c8d6a8b2485c92a068ae4d /PKGBUILD
parent796e5219598ef50e1c0321786be507266743d99e (diff)
downloadaur-9d8945d6c695a340b5311515d3531ce51937a39c.tar.gz
Limit libgfortran file find to 1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 06d8ba0f1b6..d125409a4c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}