mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/opencv to 2.3.1_a-3
This commit is contained in:
parent
a1aa113efb
commit
69902f4916
1 changed files with 8 additions and 1 deletions
|
@ -13,7 +13,7 @@ pkgname=('opencv' 'opencv-docs' 'opencv-samples')
|
|||
_realname=OpenCV
|
||||
pkgver=2.3.1_a
|
||||
_realver=2.3.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
|
@ -104,6 +104,10 @@ package_opencv-docs() {
|
|||
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
cp -r opencv-doc "$pkgdir/usr/share/doc/opencv"
|
||||
|
||||
# install license file
|
||||
install -Dm644 "$srcdir/$_realname-$_realver/doc/license.txt" \
|
||||
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
package_opencv-samples() {
|
||||
|
@ -116,6 +120,9 @@ package_opencv-samples() {
|
|||
|
||||
mkdir -p "$pkgdir/usr/share/opencv"
|
||||
cp -r opencv-samples "$pkgdir/usr/share/opencv/samples"
|
||||
|
||||
install -Dm644 "$srcdir/$_realname-$_realver/doc/license.txt" \
|
||||
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue