diff options
author | Yaron de Leeuw | 2018-01-20 22:25:51 -0500 |
---|---|---|
committer | Yaron de Leeuw | 2018-01-20 22:25:51 -0500 |
commit | 8c8ad50346fa12fd03874d4ca0dc6eb4b8d97f83 (patch) | |
tree | af39297902dbfc5d03c0f40b5385ee230e49125b | |
parent | 7b47907753f3ffd3d4195bf0290302f47f28b69f (diff) | |
download | aur-8c8ad50346fa12fd03874d4ca0dc6eb4b8d97f83.tar.gz |
Switch from creating a symlink to LD_LIBRARY_PATH
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 3 insertions, 7 deletions
@@ -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 @@ -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() { |