summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin McCormack2018-12-01 19:03:18 -0500
committerKevin McCormack2018-12-01 19:03:18 -0500
commit9d8945d6c695a340b5311515d3531ce51937a39c (patch)
treed5ce9595ff99b1a1b0c8d6a8b2485c92a068ae4d
parent796e5219598ef50e1c0321786be507266743d99e (diff)
downloadaur-9d8945d6c695a340b5311515d3531ce51937a39c.tar.gz
Limit libgfortran file find to 1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e2683a733c7..c49a59d6887 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cura-lulzbot
pkgdesc = Cura LulzBot Edition for LulzBot 3D Printers by Aleph Objects, Inc.
pkgver = 3.2.32
- pkgrel = 2
+ pkgrel = 3
url = https://www.lulzbot.com/cura
arch = x86_64
license = AGPLv3
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"
}