summaryrefslogtreecommitdiff
path: root/community/torch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/torch
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/torch')
-rw-r--r--community/torch/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/torch/PKGBUILD b/community/torch/PKGBUILD
index 6ac1ae427..7bda8ea70 100644
--- a/community/torch/PKGBUILD
+++ b/community/torch/PKGBUILD
@@ -1,26 +1,30 @@
-# $Id: PKGBUILD 65413 2012-02-21 03:29:54Z spupykin $
+# $Id: PKGBUILD 100522 2013-11-05 11:47:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=torch
pkgver=3.1
-pkgrel=3
+pkgrel=4
pkgdesc="State of the art machine learning library"
arch=(i686 x86_64)
url="http://packages.debian.org/source/lenny/torch3"
license=('GPL')
depends=(gcc-libs)
source=(http://ftp.de.debian.org/debian/pool/main/t/torch3/torch3_$pkgver.orig.tar.gz
- http://ftp.de.debian.org/debian/pool/main/t/torch3/torch3_$pkgver-2.diff.gz)
+ http://ftp.de.debian.org/debian/pool/main/t/torch3/torch3_$pkgver-2.1.diff.gz)
md5sums=('04f7dc72a1e875a12ddf8ac77ec2dcc7'
- 'b928c4206abb3209435dca27ad3e3c22')
+ '4f6c8e743e7a0aa9688f1e20b14797e4')
build() {
cd "$srcdir/torch3-$pkgver.orig"
- [ $NOEXTRACT -eq 1 ] || cat $srcdir/torch3_$pkgver-2.diff | patch -p1
+ [ $NOEXTRACT -eq 1 ] || cat $srcdir/torch3_$pkgver-2.1.diff | patch -p1
[ $NOEXTRACT -eq 1 ] || make depend
make
+}
+
+package() {
+ cd "$srcdir/torch3-$pkgver.orig"
mkdir -p $pkgdir/usr/{include/torch,lib}