extra/opencv to 4.4.0-3

This commit is contained in:
Kevin Mihelich 2020-10-10 15:53:25 +00:00
parent 91f871165d
commit 00acafc3a2

View file

@ -8,7 +8,7 @@
pkgbase=opencv pkgbase=opencv
pkgname=(opencv opencv-samples) pkgname=(opencv opencv-samples)
pkgver=4.4.0 pkgver=4.4.0
pkgrel=2 pkgrel=3
pkgdesc="Open Source Computer Vision Library" pkgdesc="Open Source Computer Vision Library"
arch=(x86_64) arch=(x86_64)
license=(BSD) license=(BSD)
@ -78,8 +78,8 @@ package_opencv() {
mv "$pkgdir"/usr/share/opencv4/samples "$srcdir" mv "$pkgdir"/usr/share/opencv4/samples "$srcdir"
# Add java symlinks expected by some binary blobs # Add java symlinks expected by some binary blobs
ln -s "$pkgdir"/usr/share/java/{opencv4/opencv-${pkgver//./},opencv}.jar ln -sr "$pkgdir"/usr/share/java/{opencv4/opencv-${pkgver//./},opencv}.jar
ln -s "$pkgdir"/usr/lib/{libopencv_java${pkgver//./},libopencv_java}.so ln -sr "$pkgdir"/usr/lib/{libopencv_java${pkgver//./},libopencv_java}.so
} }
package_opencv-samples() { package_opencv-samples() {