libopencv-python3: do not hardcode python3 version

This commit is contained in:
Alessio Sergi 2017-09-20 19:38:10 +02:00
parent e18795753a
commit dcf222f8f2

View File

@ -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