summaryrefslogtreecommitdiff
path: root/community/torch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-21 23:15:10 +0000
committerroot <root@rshg054.dnsready.net>2012-02-21 23:15:10 +0000
commit1f55cedf5ea357497d2a98eb2be78d8dab4a9665 (patch)
tree5e44ad19f2672ee92283377c9fe6eab3c8a815d7 /community/torch
parent11484c032f8c236b2044e715a9a3b28e33f65598 (diff)
Tue Feb 21 23:15:10 UTC 2012
Diffstat (limited to 'community/torch')
-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/
}