blob: b20bb43b8c790d8be94ad668ed476a9957042d18 (
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
|
# 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"
}
|