mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/vigra to 1.11.1-6
This commit is contained in:
parent
4c1a48a9cb
commit
e43e25952e
1 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
|||
pkgbase=vigra
|
||||
pkgname=('vigra' 'vigra-doc')
|
||||
pkgver=1.11.1
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Computer vision library"
|
||||
arch=('x86_64')
|
||||
url="https://ukoethe.github.io/vigra/"
|
||||
|
@ -17,7 +17,8 @@ license=('custom:MIT')
|
|||
makedepends=(# runtime deps
|
||||
'libpng' 'libtiff' 'openexr' 'gcc-libs' 'sh' 'hdf5' 'fftw'
|
||||
# additional makedeps
|
||||
'cmake' 'python-nose' 'doxygen' 'python-sphinx' 'boost' 'python-numpy')
|
||||
'cmake' 'boost' 'python-numpy')
|
||||
checkdepends=('python-nose')
|
||||
source=("https://github.com/ukoethe/vigra/releases/download/Version-${pkgver//./-}/vigra-${pkgver}-src.tar.gz")
|
||||
sha256sums=('a5564e1083f6af6a885431c1ee718bad77d11f117198b277557f8558fa461aaf')
|
||||
|
||||
|
@ -32,7 +33,6 @@ build() {
|
|||
-DPYTHON_EXECUTABLE=/usr/bin/python \
|
||||
-DWITH_OPENEXR=true \
|
||||
-DWITH_VIGRANUMPY=1 \
|
||||
-DDOCDIR=../build/doc \
|
||||
-DDOCINSTALL=share/doc \
|
||||
$([ $CARCH == arm ] && echo "-DCMAKE_CXX_FLAGS=-std=c++11 -DWITH_BOOST_THREAD=1")
|
||||
make
|
||||
|
@ -52,7 +52,7 @@ package_vigra() {
|
|||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
install -Dm644 ${srcdir}/${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||
install -Dm644 "${srcdir}"/${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||
|
||||
# Remove doc
|
||||
rm -rf "${pkgdir}"/usr/share/doc
|
||||
|
@ -68,5 +68,5 @@ package_vigra-doc() {
|
|||
# Remove vigra package content
|
||||
rm -rf "${pkgdir}"/usr/{bin,include,lib}
|
||||
|
||||
install -Dm644 ${srcdir}/${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||
install -Dm644 "${srcdir}"/${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue