From 89953235cbab39a4c39b8085161a8c7175d4867a Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sun, 26 Aug 2018 12:26:46 -0500 Subject: opencv-3.4.2-3.parabola1: openexr 2.3 rebuild --- libre/opencv/PKGBUILD | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'libre/opencv/PKGBUILD') 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: -- cgit v1.2.3