summaryrefslogtreecommitdiff
path: root/neutrino/PKGBUILD
blob: bba82851fc2ed8c315955befa8636d955d1e40a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=neutrino
_pkgname=Neutrino
pkgver=2.3
pkgrel=1
pkgdesc="A light, expandable and full featured image analysis tool for research."
arch=('i686' 'pentium4' 'x86_64')
url="http://web.luli.polytechnique.fr/${_pkgname}/"
license=('LGPL3')
groups=()
depends=(
  'cfitsio'
  'fftw'
  'gsl'
  'hdf4'
  'hdf5'
  'libtiff'
  'pandoc'
  'python-numpy'
  'qt5-multimedia'
  'qt5-svg'
  'qt5-script'
  '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

}