From 5c1e86d8b7f464bd684f0302195e5ecf608099a5 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 12 Jul 2020 18:49:25 +0000 Subject: [PATCH] community/vigra to 1.11.1-25 --- community/vigra/PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/community/vigra/PKGBUILD b/community/vigra/PKGBUILD index fbba62954..9a5f73f06 100644 --- a/community/vigra/PKGBUILD +++ b/community/vigra/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=vigra pkgname=(vigra vigra-doc) pkgver=1.11.1 -pkgrel=24 +pkgrel=25 pkgdesc="Computer vision library" arch=(x86_64) url="https://ukoethe.github.io/vigra/" @@ -51,16 +51,16 @@ check() { package_vigra() { pkgdesc="Computer vision library" - depends=('libpng' 'libtiff' 'openexr' 'gcc-libs' 'sh' 'hdf5' 'fftw') + depends=(libpng libtiff openexr gcc-libs sh hdf5 fftw) optdepends=('python: for python bindings' 'boost-libs: for python bindings') make -C build DESTDIR="${pkgdir}" install - install -Dm644 ${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 ${pkgbase}-${pkgver}/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/ # Remove doc - rm -rf "${pkgdir}"/usr/share/doc + rm -r "${pkgdir}"/usr/share/doc } package_vigra-doc() { @@ -70,7 +70,9 @@ package_vigra-doc() { make -C build DESTDIR="${pkgdir}" install # Remove vigra package content - rm -rf "${pkgdir}"/usr/{bin,include,lib} + rm -r "${pkgdir}"/usr/{bin,include,lib} + # Remove doctrees https://github.com/ukoethe/vigra/pull/477 + rm -r "${pkgdir}"/usr/share/doc/vigranumpy/doctrees/ - install -Dm644 ${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 ${pkgbase}-${pkgver}/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/ }