[arch-commits] Commit in vigra/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Mon Mar 12 20:42:12 UTC 2018
Date: Monday, March 12, 2018 @ 20:42:11
Author: archange
Revision: 306554
archrelease: copy trunk to community-x86_64
Added:
vigra/repos/community-x86_64/PKGBUILD
(from rev 306553, vigra/trunk/PKGBUILD)
Deleted:
vigra/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 136 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 68 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-12 20:41:56 UTC (rev 306553)
+++ PKGBUILD 2018-03-12 20:42:11 UTC (rev 306554)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: AndyRTR <andyrtr at archlinux.org>
-# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
-
-pkgbase=vigra
-pkgname=('vigra' 'vigra-doc')
-pkgver=1.11.1
-pkgrel=5
-pkgdesc="Computer vision library"
-arch=('x86_64')
-url="https://ukoethe.github.io/vigra/"
-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')
-source=("https://github.com/ukoethe/vigra/releases/download/Version-${pkgver//./-}/vigra-${pkgver}-src.tar.gz")
-sha256sums=('a5564e1083f6af6a885431c1ee718bad77d11f117198b277557f8558fa461aaf')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_EXECUTABLE=/usr/bin/python \
- -DWITH_OPENEXR=true \
- -DWITH_VIGRANUMPY=1 \
- -DDOCDIR=../build/doc \
- -DDOCINSTALL=share/doc
- make
-}
-
-check() {
- cd build
- make -j1 -k check || warning "Tests failed" # https://github.com/ukoethe/vigra/issues/409
-}
-
-package_vigra() {
- pkgdesc="Computer vision library"
- depends=('libpng' 'libtiff' 'openexr' 'gcc-libs' 'sh' 'hdf5' 'fftw')
- optdepends=('python: for python bindings'
- 'boost-libs: for python bindings')
-
- cd build
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 ${srcdir}/${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
- # Remove doc
- rm -rf "${pkgdir}"/usr/share/doc
-}
-
-package_vigra-doc() {
- pkgdesc="Computer vision library - documentation and examples"
- #arch=('any') # Not supported for now, maybe later
-
- cd build
- make DESTDIR="${pkgdir}" install
-
- # Remove vigra package content
- rm -rf "${pkgdir}"/usr/{bin,include,lib}
-
- install -Dm644 ${srcdir}/${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: vigra/repos/community-x86_64/PKGBUILD (from rev 306553, vigra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-12 20:42:11 UTC (rev 306554)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+
+pkgbase=vigra
+pkgname=('vigra' 'vigra-doc')
+pkgver=1.11.1
+pkgrel=6
+pkgdesc="Computer vision library"
+arch=('x86_64')
+url="https://ukoethe.github.io/vigra/"
+license=('custom:MIT')
+makedepends=(# runtime deps
+ 'libpng' 'libtiff' 'openexr' 'gcc-libs' 'sh' 'hdf5' 'fftw'
+ # additional makedeps
+ 'cmake' 'boost' 'python-numpy')
+checkdepends=('python-nose')
+source=("https://github.com/ukoethe/vigra/releases/download/Version-${pkgver//./-}/vigra-${pkgver}-src.tar.gz")
+sha256sums=('a5564e1083f6af6a885431c1ee718bad77d11f117198b277557f8558fa461aaf')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python \
+ -DWITH_OPENEXR=true \
+ -DWITH_VIGRANUMPY=1 \
+ -DDOCINSTALL=share/doc
+ make
+}
+
+check() {
+ cd build
+ make -j1 -k check || warning "Tests failed" # https://github.com/ukoethe/vigra/issues/409
+}
+
+package_vigra() {
+ pkgdesc="Computer vision library"
+ depends=('libpng' 'libtiff' 'openexr' 'gcc-libs' 'sh' 'hdf5' 'fftw')
+ optdepends=('python: for python bindings'
+ 'boost-libs: for python bindings')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "${srcdir}"/${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+ # Remove doc
+ rm -rf "${pkgdir}"/usr/share/doc
+}
+
+package_vigra-doc() {
+ pkgdesc="Computer vision library - documentation and examples"
+ #arch=('any') # Not supported for now, maybe later
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Remove vigra package content
+ rm -rf "${pkgdir}"/usr/{bin,include,lib}
+
+ install -Dm644 "${srcdir}"/${pkgbase}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list