summaryrefslogtreecommitdiff
path: root/pcr/shogun/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 17:50:36 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 17:50:36 +0200
commit2e64e29479570bf7f2ad9dc1924010a9adf1da88 (patch)
tree5cc9900ee4f49ca803278e945bef4cc82e666ec2 /pcr/shogun/PKGBUILD
parenta95e0004f8ebcf735ebb4913b47b167de56822ab (diff)
shogun
Diffstat (limited to 'pcr/shogun/PKGBUILD')
-rw-r--r--pcr/shogun/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/shogun/PKGBUILD b/pcr/shogun/PKGBUILD
new file mode 100644
index 000000000..9439143e0
--- /dev/null
+++ b/pcr/shogun/PKGBUILD
@@ -0,0 +1,38 @@
+# Contributor (Arch) : Fabian Yamaguchi <fabian.yamaguchi@cs.uni-goettingen.de>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+# Based on shogun-git package by
+# Alex Babescu <alex.babescu@gmail.com>
+
+pkgname=shogun
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Shogun - A Large Scale Machine Learning Toolbox"
+arch=('i686' 'x86_64')
+url="http://www.shogun-toolbox.org"
+license=('GPLv3')
+depends=('python2' 'python2-numpy' 'swig' 'hdf5' 'blas' 'lapack')
+makedepends=('git' 'python2' 'lzo2' 'glpk' 'gcc' 'make' 'pkg-config' 'libxml2')
+optdepends=('atlas-lapack' 'octave' 'doxygen' 'r')
+provides=('shogun')
+source=("http://shogun-toolbox.org/archives/shogun/releases/3.2/sources/shogun-3.2.0.tar.bz2")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # msg "Starting make..."
+
+ # python2 fix
+ # sed -i 's/PYTHON=python/PYTHON=python2/g' src/configure
+ # sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ # -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ # $(find ./ -name '*.py')
+
+ #cd src
+ #./configure --prefix=/usr
+ #make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/src"
+ make DESTDIR="$pkgdir/" .r-install.sh
+}