From dcf222f8f27864f021e04ffacf9df262db9f6202 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 20 Sep 2017 19:38:10 +0200 Subject: [PATCH] libopencv-python3: do not hardcode python3 version --- srcpkgs/opencv/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/opencv/template b/srcpkgs/opencv/template index 8d30f88f13d..366821864bf 100644 --- a/srcpkgs/opencv/template +++ b/srcpkgs/opencv/template @@ -1,7 +1,7 @@ # Template file for 'opencv' pkgname=opencv version=3.3.0 -revision=1 +revision=2 build_style=cmake configure_args="-DENABLE_PRECOMPILED_HEADERS=OFF -DWITH_OPENMP=ON -DWITH_OPENCL=ON -DENABLE_CXX11=ON" @@ -55,8 +55,7 @@ if [ -z "$CROSS_BUILD" ]; then libopencv-python3_package() { short_desc+=" - Python3 bindings" pkg_install() { - mkdir -p ${DESTDIR}/usr/lib/python3.6 - vmove usr/lib/python3.6 + vmove usr/lib/python3* } } fi