summaryrefslogtreecommitdiff
path: root/neutrino
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-11 11:18:50 +0200
committerErich Eckner <git@eckner.net>2017-09-11 11:18:50 +0200
commit0d4e2b6166e573d721fa0017c9382c52e665a37e (patch)
tree1d7976ddd072df429d6ee2b48990f484ee307ba6 /neutrino
parenta277ca41ed56bf43f67504392e118237074caa1b (diff)
downloadarchlinuxewe.git.save-0d4e2b6166e573d721fa0017c9382c52e665a37e.tar.xz
neutrino new
Diffstat (limited to 'neutrino')
-rw-r--r--neutrino/.gitignore1
-rwxr-xr-xneutrino/PKGBUILD58
2 files changed, 59 insertions, 0 deletions
diff --git a/neutrino/.gitignore b/neutrino/.gitignore
new file mode 100644
index 00000000..49769937
--- /dev/null
+++ b/neutrino/.gitignore
@@ -0,0 +1 @@
+Neutrino
diff --git a/neutrino/PKGBUILD b/neutrino/PKGBUILD
new file mode 100755
index 00000000..b20bb43b
--- /dev/null
+++ b/neutrino/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+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"
+
+}