[arch-commits] Commit in vigra/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Sun Jul 12 18:35:03 UTC 2020
Date: Sunday, July 12, 2020 @ 18:35:03
Author: archange
Revision: 663347
https://www.archlinux.org/todo/remove-doctrees-from-installed-files-for-reproducible-builds/
+ Linting
Modified:
vigra/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-12 18:12:18 UTC (rev 663346)
+++ PKGBUILD 2020-07-12 18:35:03 UTC (rev 663347)
@@ -5,7 +5,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/"
@@ -47,16 +47,16 @@
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() {
@@ -66,7 +66,9 @@
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}/
}
More information about the arch-commits
mailing list