From 0d4e2b6166e573d721fa0017c9382c52e665a37e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 11 Sep 2017 11:18:50 +0200 Subject: neutrino new --- neutrino/.gitignore | 1 + neutrino/PKGBUILD | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 neutrino/.gitignore create mode 100755 neutrino/PKGBUILD diff --git a/neutrino/.gitignore b/neutrino/.gitignore new file mode 100644 index 000000000..497699370 --- /dev/null +++ b/neutrino/.gitignore @@ -0,0 +1 @@ +Neutrino diff --git a/neutrino/PKGBUILD b/neutrino/PKGBUILD new file mode 100755 index 000000000..b20bb43b8 --- /dev/null +++ b/neutrino/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Erich Eckner +pkgname=neutrino +_pkgname=Neutrino +pkgver=2.2 +pkgrel=1 +pkgdesc="A light, expandable and full featured image analysis tool for research." +arch=('i686' 'x86_64') +url="http://web.luli.polytechnique.fr/${_pkgname}/" +license=('LGPL3') +groups=() +depends=( + 'fftw' + 'gsl' + 'qt5-multimedia' + 'qt5-svg' + 'qt5-tools' +) +makedepends=( + 'cmake' + 'git' + 'lsb-release' +) +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +source=( + "git+https://github.com/NeutrinoToolkit/${_pkgname}.git#tag=v${pkgver}" +) +sha512sums=('SKIP') + +prepare() { + cd ${_pkgname} + sed -i 's/master/makepkg/' CMakeLists.txt +} + +build() { + + cd ${_pkgname} + mkdir build + cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + .. + make + +} + +package() { + + cd ${_pkgname}/build + make DESTDIR="${pkgdir}" install + rm "${pkgdir}/usr/share/doc/neutrino/LICENSE.txt" + +} -- cgit v1.2.3-70-g09d2