aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaron de Leeuw2018-01-20 22:25:51 -0500
committerYaron de Leeuw2018-01-20 22:25:51 -0500
commit8c8ad50346fa12fd03874d4ca0dc6eb4b8d97f83 (patch)
treeaf39297902dbfc5d03c0f40b5385ee230e49125b
parent7b47907753f3ffd3d4195bf0290302f47f28b69f (diff)
downloadaur-8c8ad50346fa12fd03874d4ca0dc6eb4b8d97f83.tar.gz
Switch from creating a symlink to LD_LIBRARY_PATH
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 3 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d14036f2bc3d..04dc1e1298dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cura2-lulzbot
pkgdesc = This is the development version of Cura 2 for LulzBot 3D Printers by Aleph Objects, Inc.
pkgver = 2.6.66
- pkgrel = 1
+ pkgrel = 2
url = https://code.alephobjects.com
arch = x86_64
license = AGPLv3
diff --git a/PKGBUILD b/PKGBUILD
index 824c1d5417ff..4cb0b847e162 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Kevin McCormack <harlemsquirrel@gmail.com>
pkgname=cura2-lulzbot
pkgver=2.6.66
-pkgrel=1
+pkgrel=2
pkgdesc='This is the development version of Cura 2 for LulzBot 3D Printers by Aleph Objects, Inc.'
arch=('x86_64')
url='https://code.alephobjects.com'
@@ -15,11 +15,7 @@ prepare() {
# where all the essentials reside within the debian package
tar zxf "${srcdir}/data.tar".gz -C "${srcdir}"
- if [ ! -e /usr/lib/libgfortran.so.3 ]; then
- # Set up link for libgfortran that cura-lulzbot will look for
- printf "We need sudo access to set up symlink for libgfortran \n"
- sudo ln -sf /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/libgfortran.so /usr/lib/libgfortran.so.3
- fi
+ sed -i 's;LD_LIBRARY_PATH=;LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1:;' "${srcdir}/usr/bin/cura-lulzbot"
}
package() {