extra/opencv to 3.4.2-3

This commit is contained in:
Kevin Mihelich 2018-08-24 12:32:21 +00:00
parent 32f910f98a
commit 8935206a2a

View file

@ -9,7 +9,7 @@
pkgbase=opencv
pkgname=(opencv opencv-samples)
pkgver=3.4.2
pkgrel=2
pkgrel=3
pkgdesc="Open Source Computer Vision Library"
arch=(x86_64)
license=(BSD)
@ -67,13 +67,9 @@ package_opencv() {
cd "$pkgdir"/usr/share
# separate samples package; also be -R friendly
if [[ -d OpenCV/samples ]]; then
mv OpenCV/samples "$srcdir/$pkgname-samples"
mv OpenCV $pkgname # otherwise folder naming is inconsistent
elif [[ ! -d OpenCV ]]; then
warning "Directory naming issue; samples package may not be built!"
fi
# separate samples package
mv OpenCV/samples "$srcdir/$pkgname-samples"
mv OpenCV $pkgname # otherwise folder naming is inconsistent
}
package_opencv-samples() {