blob: b28d6cc8b70ae68c879c263d9e736fedf0ca8c94 (
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
|
# Maintainer: Cédric FARINAZZO <cedric.farinazzo@gmail.com>
pkgname=adaptativeneuralnetwork
_fullname=AdaptativeNeuralNetwork
pkgbase=adaptativeneuralnetwork
pkgver=0.1.1.5
_fullver=0.1.1.5
pkgrel=0
epoch=
pkgdesc="AdaptativeNeuralNetwork : A static library containing multiple neural network models written in C"
arch=(any)
url="https://gitlab.com/cedricfarinazzo/adaptativeneuralnetwork"
license=('MIT')
depends=('glibc' 'graphviz')
optdepends=()
makedepends=('make' 'cmake' 'gcc')
checkdepends=('criterion')
provides=()
source=("https://github.com/cedricfarinazzo/${_fullname}/archive/${_fullver}.tar.gz")
md5sums=('SKIP')
build() {
cd "$srcdir/$_fullname-$_fullver"
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
..
make
}
check() {
cd "$srcdir/$_fullname-$_fullver"
cd build
make check
}
package() {
cd "$srcdir/$_fullname-$_fullver"
cd build
make DESTDIR=$pkgdir LIBDIR=$pkgdir/usr/lib install
}
|