diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .oce.sh.swp | bin | 12288 -> 0 bytes | |||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | oce.conf | 1 | ||||
-rwxr-xr-x | oce.sh | 3 |
5 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon Jan 18 11:55:25 UTC 2016 +# Mon Jan 18 12:59:45 UTC 2016 pkgbase = oce pkgdesc = Open CASCADE Community Edition: patches/improvements/experiments contributed by users over the official Open CASCADE library. pkgver = 0.16.1 diff --git a/.oce.sh.swp b/.oce.sh.swp Binary files differdeleted file mode 100644 index 2bdcf98d8485..000000000000 --- a/.oce.sh.swp +++ /dev/null @@ -31,6 +31,9 @@ package() { make DESTDIR="${pkgdir}" install install -Dm644 ${srcdir}/oce-OCE-${pkgver}/LICENSE_LGPL_21.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE_LGPL_21.txt" install -Dm644 ${srcdir}/oce-OCE-${pkgver}/OCCT_LGPL_EXCEPTION.txt "$pkgdir/usr/share/licenses/$pkgname/OCCT_LGPL_EXCEPTION.txt" + + install -D -m644 "${srcdir}/oce.conf" "${pkgdir}/etc/ld.so.conf.d/oce.conf" + install -D -m 755 "${srcdir}/oce.sh" "${pkgdir}/etc/profile.d/oce.sh" } # vim:set ts=2 sw=2 et: diff --git a/oce.conf b/oce.conf new file mode 100644 index 000000000000..d95fed1c07fc --- /dev/null +++ b/oce.conf @@ -0,0 +1 @@ +/opt/oce/lib diff --git a/oce.sh b/oce.sh new file mode 100755 index 000000000000..76a398f5841e --- /dev/null +++ b/oce.sh @@ -0,0 +1,3 @@ +#!/bin/sh -f + +export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/oce/lib" |