summaryrefslogtreecommitdiff
path: root/libre/opencv
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-08-26 12:26:46 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-08-26 12:26:46 -0500
commit89953235cbab39a4c39b8085161a8c7175d4867a (patch)
tree9512f090c6998d6839b5fba960e689f7fc067753 /libre/opencv
parent02933c29207cdde1f79235af34a0eee6b4e252b9 (diff)
downloadabslibre-89953235cbab39a4c39b8085161a8c7175d4867a.tar.gz
abslibre-89953235cbab39a4c39b8085161a8c7175d4867a.tar.bz2
abslibre-89953235cbab39a4c39b8085161a8c7175d4867a.zip
opencv-3.4.2-3.parabola1: openexr 2.3 rebuild
Diffstat (limited to 'libre/opencv')
-rw-r--r--libre/opencv/PKGBUILD12
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: