mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
extra/opencv to 3.4.2-3
This commit is contained in:
parent
32f910f98a
commit
8935206a2a
1 changed files with 4 additions and 8 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue