mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/vigra to 1.11.1-25
This commit is contained in:
parent
9458bf7a4c
commit
5c1e86d8b7
1 changed files with 8 additions and 6 deletions
|
@ -8,7 +8,7 @@
|
||||||
pkgbase=vigra
|
pkgbase=vigra
|
||||||
pkgname=(vigra vigra-doc)
|
pkgname=(vigra vigra-doc)
|
||||||
pkgver=1.11.1
|
pkgver=1.11.1
|
||||||
pkgrel=24
|
pkgrel=25
|
||||||
pkgdesc="Computer vision library"
|
pkgdesc="Computer vision library"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://ukoethe.github.io/vigra/"
|
url="https://ukoethe.github.io/vigra/"
|
||||||
|
@ -51,16 +51,16 @@ check() {
|
||||||
|
|
||||||
package_vigra() {
|
package_vigra() {
|
||||||
pkgdesc="Computer vision library"
|
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'
|
optdepends=('python: for python bindings'
|
||||||
'boost-libs: for python bindings')
|
'boost-libs: for python bindings')
|
||||||
|
|
||||||
make -C build DESTDIR="${pkgdir}" install
|
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
|
# Remove doc
|
||||||
rm -rf "${pkgdir}"/usr/share/doc
|
rm -r "${pkgdir}"/usr/share/doc
|
||||||
}
|
}
|
||||||
|
|
||||||
package_vigra-doc() {
|
package_vigra-doc() {
|
||||||
|
@ -70,7 +70,9 @@ package_vigra-doc() {
|
||||||
make -C build DESTDIR="${pkgdir}" install
|
make -C build DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
# Remove vigra package content
|
# 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}/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue