1 # Maintainer: Michael Schubert <mschu.dev at gmail>
5 pkgdesc="A CUDA library of parallel algorithms similar to the C++ STL"
7 url="http://code.google.com/p/thrust/"
10 source=("http://thrust.googlecode.com/files/$pkgname-$pkgver.zip")
11 md5sums=('58922598c15c1bf45dfa700093c5d676')
14 mkdir -p $pkgdir/usr/include
15 cp -R $srcdir/thrust $pkgdir/usr/include/
17 # set environment variable
18 mkdir -p $pkgdir/etc/profile.d
19 echo "export THRUST_PATH=/usr/include" > $pkgdir/etc/profile.d/thrust.sh
20 chmod a+x $pkgdir/etc/profile.d/thrust.sh