diff options
Diffstat (limited to 'extra/opencv')
-rw-r--r-- | extra/opencv/PKGBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD index 1e1f4d581..ac3920d41 100644 --- a/extra/opencv/PKGBUILD +++ b/extra/opencv/PKGBUILD @@ -1,13 +1,12 @@ -# $Id: PKGBUILD 148866 2012-02-05 11:53:22Z ibiru $ +# $Id: PKGBUILD 158091 2012-05-02 18:12:22Z schiv $ # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgbase=opencv pkgname=('opencv' 'opencv-docs' 'opencv-samples') _realname=OpenCV -pkgver=2.3.1_a -_realver=2.3.1 -pkgrel=4 +pkgver=2.4.0 +pkgrel=1 pkgdesc="Open Source Computer Vision Library" arch=('i686' 'x86_64' 'mips64el') license=('BSD') @@ -20,8 +19,8 @@ optdepends=('opencv-docs' 'eigen2' 'python2-numpy: Python 2.x interface') options=('!libtool') -source=("http://downloads.sourceforge.net/opencvlibrary/$_realname-${_realver}a.tar.bz2") -md5sums=('82e4b6bfa349777233eea09b075e931e') +source=("http://downloads.sourceforge.net/opencvlibrary/$_realname-${pkgver}.tar.bz2") +md5sums=('1fcda4ed3d0655f033ac30be8bad4882') _cmakeopts=('-D CMAKE_BUILD_TYPE=Release' '-D CMAKE_INSTALL_PREFIX=/usr' @@ -48,7 +47,7 @@ _cmakeopts=('-D CMAKE_BUILD_TYPE=Release' '-D USE_FAST_MATH=ON') build() { - cd "$srcdir/$_realname-$_realver" + cd "$srcdir/$_realname-$pkgver" # x64, i.e "Athlon64" and upwards, can use SSE3 [ $CARCH = x86_64 ] && \ @@ -60,12 +59,12 @@ build() { } package_opencv() { - cd "$srcdir/$_realname-$_realver" + cd "$srcdir/$_realname-$pkgver" make DESTDIR="$pkgdir" install # install license file - install -Dm644 "$srcdir/$_realname-$_realver/doc/license.txt" \ + install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" cd "$pkgdir/usr/share" @@ -96,7 +95,7 @@ package_opencv-docs() { cp -r opencv-doc "$pkgdir/usr/share/doc/opencv" # install license file - install -Dm644 "$srcdir/$_realname-$_realver/doc/license.txt" \ + install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } @@ -112,7 +111,7 @@ package_opencv-samples() { cp -r opencv-samples "$pkgdir/usr/share/opencv/samples" # install license file - install -Dm644 "$srcdir/$_realname-$_realver/doc/license.txt" \ + install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |