mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/opencv to 2.4.5-2
This commit is contained in:
parent
d46aace68a
commit
335a381eac
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,7 @@ pkgbase=opencv
|
|||
pkgname=('opencv' 'opencv-samples')
|
||||
_realname=OpenCV
|
||||
pkgver=2.4.5
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
|
@ -95,6 +95,10 @@ package_opencv-samples() {
|
|||
|
||||
mkdir -p "$pkgdir/usr/share/opencv"
|
||||
cp -r "$srcdir/opencv-samples" "$pkgdir/usr/share/opencv/samples"
|
||||
|
||||
# install license file
|
||||
install -Dm644 "$srcdir/opencv-$pkgver/doc/license.txt" \
|
||||
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue