summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZHOU Yue2019-02-18 14:00:20 +0800
committerZHOU Yue2019-02-18 14:04:04 +0800
commite4b48f5240c9d9433ee95369747ba4a8d031e617 (patch)
tree24adb7e902706792efde0bcb96bd6ccd9c1695bf
parente04ddf9afbadce05d2e59b4d506d241a8facdf7e (diff)
downloadaur-e4b48f5240c9.tar.gz
fix: add a conf file into `/etc/ld.so.conf.d/`
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 15795aa7c24..94f142ee9f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = opencv3-opt
pkgdesc = Open Source Computer Vision Library (Legacy Version & /opt directory version)
pkgver = 3.4.5
- pkgrel = 2
+ pkgrel = 3
url = http://opencv.org/
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 5d94afa837b..6d0ebd73db2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgbase=opencv3-opt
pkgname=($pkgbase $pkgbase-samples)
pkgver=3.4.5
-pkgrel=2
+pkgrel=3
pkgdesc="Open Source Computer Vision Library (Legacy Version & /opt directory version)"
arch=(x86_64)
license=(BSD)
@@ -67,6 +67,9 @@ package_opencv3-opt() {
ln -s /opt/opencv3/lib/pkgconfig/opencv.pc opencv3.pc
ln -s /opt/opencv3/lib/pkgconfig/opencv.pc opencv3-opt.pc
+ mkdir -p "$pkgdir"/etc/ld.so.conf.d
+ echo /opt/opencv3/lib > "$pkgdir"/etc/ld.so.conf.d/opencv3-opt.conf
+
# install python bindings
# cd python_loader
# python setup.py install --root="$pkgdir"