diff options
Diffstat (limited to 'testing/opencv/APKBUILD')
-rw-r--r-- | testing/opencv/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/opencv/APKBUILD b/testing/opencv/APKBUILD index 9d741f6cfd..5dadd6481a 100644 --- a/testing/opencv/APKBUILD +++ b/testing/opencv/APKBUILD @@ -19,7 +19,13 @@ builddir="$srcdir/opencv-$pkgver" prepare() { default_prepare || return 1 - rm -rf "$builddir"/3rdparty + # purge 3rd party except carotene + for i in "$builddir"/3rdparty/*; do + case $i in + */carotene*) continue;; + esac + rm -rf "$i" + done } build() { |