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}/ }