termux-packages/packages/opencv/opencv-python.subpackage.sh
2022-03-13 09:33:34 +09:00

9 lines
248 B
Bash

TERMUX_SUBPKG_INCLUDE="lib/python*"
TERMUX_SUBPKG_DESCRIPTION="Python bindings for OpenCV"
TERMUX_SUBPKG_DEPENDS="python"
termux_step_create_subpkg_debscripts() {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "pip3 install numpy" >> postinst
}