diff options
Diffstat (limited to 'extra/opencv')
-rw-r--r-- | extra/opencv/PKGBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD index e4f416b5c..f35339262 100644 --- a/extra/opencv/PKGBUILD +++ b/extra/opencv/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 145287 2011-12-21 06:58:54Z schiv $ +# $Id: PKGBUILD 146424 2012-01-10 23:37:44Z eric $ # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> @@ -7,7 +7,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' 'mips64el') license=('BSD') @@ -94,6 +94,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() { @@ -106,6 +110,10 @@ package_opencv-samples() { mkdir -p "$pkgdir/usr/share/opencv" cp -r opencv-samples "$pkgdir/usr/share/opencv/samples" + + # install license file + install -Dm644 "$srcdir/$_realname-$_realver/doc/license.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et: |