diff options
author | root <root@rshg054.dnsready.net> | 2012-01-11 23:14:45 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-11 23:14:45 +0000 |
commit | 3a0439ec6aea4411ac6d11c90cd8220f8f12a660 (patch) | |
tree | adc6bcfb43847a9615413defa99b7a0946d22565 /extra/opencv | |
parent | b8012183bbaae70ce4a714c618a967e85df9f521 (diff) |
Wed Jan 11 23:14:45 UTC 2012
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 c18cbde3b..b4265766c 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') 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: |