summaryrefslogtreecommitdiff
path: root/pcr/shogun/PKGBUILD
blob: e3d67022d481657eafe5e465a129bf63f8dec031 (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
# Maintainer (Arch): Zdeněk Janeček <jan.zdenek@gmail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=shogun
pkgver=4.0.0
pkgrel=2
pkgdesc="Shogun - A Large Scale Machine Learning Toolbox with the python interface"
arch=('i686' 'x86_64')
url="http://www.shogun-toolbox.org"
license=('GPLv3')
depends=('cblas' 'lapack' 'swig' 'python-numpy' 'libcl')
makedepends=('cmake')
source=(http://shogun-toolbox.org/archives/shogun/releases/4.0/sources/$pkgname-$pkgver.tar.bz2)
md5sums=('57370e869f3b24f74ce9c7b8741000b0')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  mkdir build && cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DPythonModular=ON ..
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/build"
  make DESTDIR="$pkgdir/" install
}