diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/torch/PKGBUILD | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/torch/PKGBUILD')
-rw-r--r-- | community/torch/PKGBUILD | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/community/torch/PKGBUILD b/community/torch/PKGBUILD deleted file mode 100644 index 6ac1ae427..000000000 --- a/community/torch/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# $Id: PKGBUILD 65413 2012-02-21 03:29:54Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> - -pkgname=torch -pkgver=3.1 -pkgrel=3 -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) -md5sums=('04f7dc72a1e875a12ddf8ac77ec2dcc7' - 'b928c4206abb3209435dca27ad3e3c22') - -build() { - cd "$srcdir/torch3-$pkgver.orig" - - [ $NOEXTRACT -eq 1 ] || cat $srcdir/torch3_$pkgver-2.diff | patch -p1 - [ $NOEXTRACT -eq 1 ] || make depend - - 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/ - done - - install -D -m0755 lib/*.so* $pkgdir/usr/lib/ - install -D -m0644 lib/*.a $pkgdir/usr/lib/ -} |