extra/opencv to 2.3.1_a-3

This commit is contained in:
Kevin Mihelich 2012-01-11 16:24:36 -05:00
parent a1aa113efb
commit 69902f4916

View file

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