summaryrefslogtreecommitdiff
path: root/community/torch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/torch/PKGBUILD')
-rw-r--r--community/torch/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/torch/PKGBUILD b/community/torch/PKGBUILD
index c9691a6f6..6ac1ae427 100644
--- a/community/torch/PKGBUILD
+++ b/community/torch/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 21793 2010-07-17 10:25:22Z spupykin $
+# $Id: PKGBUILD 65413 2012-02-21 03:29:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=torch
pkgver=3.1
-pkgrel=2
+pkgrel=3
pkgdesc="State of the art machine learning library"
arch=(i686 x86_64)
url="http://packages.debian.org/source/lenny/torch3"
@@ -20,14 +20,14 @@ build() {
[ $NOEXTRACT -eq 1 ] || cat $srcdir/torch3_$pkgver-2.diff | patch -p1
[ $NOEXTRACT -eq 1 ] || make depend
- make || return 1
+ make
mkdir -p $pkgdir/usr/{include/torch,lib}
for i in core convolutions datasets decoder distributions gradients kernels matrix nonparametrics speech; do
- install -D -m0644 $i/*.h $pkgdir/usr/include/torch/ || return 1
+ install -D -m0644 $i/*.h $pkgdir/usr/include/torch/
done
- install -D -m0755 lib/*.so* $pkgdir/usr/lib/ && \
+ install -D -m0755 lib/*.so* $pkgdir/usr/lib/
install -D -m0644 lib/*.a $pkgdir/usr/lib/
}