diff options
-rw-r--r-- | libre/opencv/PKGBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/libre/opencv/PKGBUILD b/libre/opencv/PKGBUILD index 9f9f92fe2..3616619a1 100644 --- a/libre/opencv/PKGBUILD +++ b/libre/opencv/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=opencv pkgname=opencv pkgver=3.4.2 -pkgrel=1.parabola1 +pkgrel=3.parabola1 pkgdesc="Free Computer Vision Library, without nonfree SIFT and SURF algorithms, nonfree Milky icons and lena images" arch=(i686 x86_64 armv7h) license=(BSD) @@ -97,13 +97,9 @@ package_opencv() { cd "$pkgdir"/usr/share - # separate samples package; also be -R friendly - if [[ -d OpenCV/samples ]]; then - rm -r OpenCV/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 + rm -r OpenCV/samples + mv OpenCV $pkgname # otherwise folder naming is inconsistent } # vim:set ts=2 sw=2 et: |