blob: 57e735bb1c8ea75a42824098631f72ce0db9f7d6 (
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
|
# Maintainer: Oswin Krause oswin.krause@di.ku.dk
# Contributor:
pkgname=shark-ml-atlas-git
pkgver=r2995
pkgrel=1
provides=('shark-ml')
conflicts=('shark-ml')
pkgdesc="Shark C++ machine learning library"
arch=('i686' 'x86_64')
url="image.diku.dk/shark"
license=('LGPL3')
depends=('boost>=1.55' 'atlas-lapack')
makedepends=('cmake>=2.8' 'git')
source=('git+https://github.com/Shark-ML/Shark')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/Shark"
printf "r%s" "$(git rev-list --count HEAD)"
}
build() {
cd "$srcdir/Shark"
cmake "-DCMAKE_INSTALL_PREFIX=/usr/" \
"-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTING=OFF" \
"-DBUILD_SHARED_LIBS=ON" .
make
}
package() {
cd "$srcdir/Shark"
make DESTDIR="$pkgdir/" install
}
|