diff options
author | root <root@rshg054.dnsready.net> | 2013-11-06 00:46:31 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-11-06 00:46:31 -0800 |
commit | a52da684729842a87ef2e9faea91db09f2582588 (patch) | |
tree | c0406eec1aaf0c268a14c8078d0c7f513aa08ca6 /community/torch/PKGBUILD | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Wed Nov 6 00:46:20 PST 2013
Diffstat (limited to 'community/torch/PKGBUILD')
-rw-r--r-- | community/torch/PKGBUILD | 14 |
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} |