[arch-commits] Commit in opencv/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Aug 19 10:05:27 UTC 2018
Date: Sunday, August 19, 2018 @ 10:05:26
Author: arojas
Revision: 332647
ilmbase/openexr 2.3 rebuild
Modified:
opencv/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-19 10:04:20 UTC (rev 332646)
+++ PKGBUILD 2018-08-19 10:05:26 UTC (rev 332647)
@@ -5,7 +5,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)
@@ -63,13 +63,9 @@
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() {
More information about the arch-commits
mailing list