Created
March 1, 2017 18:28
-
-
Save agraef/60e0c2a4d04cf2e3cdf8dedcff56f349 to your computer and use it in GitHub Desktop.
AUR octave-hg PKGBUILD correction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/PKGBUILD b/PKGBUILD | |
| index 050daf4..d023d70 100644 | |
| --- a/PKGBUILD | |
| +++ b/PKGBUILD | |
| @@ -69,6 +69,7 @@ package() { | |
| cd "$srcdir"/${_hgrepo}-local/build | |
| make DESTDIR=${pkgdir} install | |
| # add octave library path to ld.so.conf.d | |
| + _appver=$(awk -F", " '/bugs/ {print $2}' "$srcdir/$_hgrepo"/configure.ac|tr -d []|tr - _) | |
| install -d "${pkgdir}/etc/ld.so.conf.d" | |
| echo "/usr/lib/${_hgrepo}/${_appver}" > "${pkgdir}/etc/ld.so.conf.d/${_hgrepo}.conf" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment