updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / cilk++ / PKGBUILD
blobb3aec794e729a463efdb09aeaf589a7be498c6c6
1 # Contributor: Arun Chaganty <arunchaganty@gmail.com>
2 pkgname=cilk++
3 pkgver=8503
4 pkgrel=1
5 pkgdesc="Intel(R) Cilk Plus is an extension to C++ that offers a quick, easy and reliable way to improve the performance of C++ programs on multi-core processors."
6 arch=(i686)
7 url=("http://software.intel.com/en-us/articles/intel-cilk-plus/")
8 license=('custom:CilkArtsPublicLicense')
9 depends=()
10 makedepends=()
11 provides=()
12 conflicts=()
13 replaces=()
14 options=(!strip)
15 backup=()
16 install=
17 source=("http://software.intel.com/file/23356"
18         "cilk++.sh")
19 noextract=()
20 md5sums=('b107d63633d2299cb38458d5c92ddd0d'
21          'a0442f978cc48660cea22b7d79bd11cc')
23 build() {
24   # Copy license
25   mkdir -p $startdir/pkg/usr/share/licenses/$pkgname/
26   cp $startdir/src/cilk/LICENSE $startdir/pkg/usr/share/licenses/$pkgname/
28   # Copy path to /opt/cilk++/
29   mkdir -p $startdir/pkg/opt/cilk++/
30   cp -r $startdir/src/cilk/* $startdir/pkg/opt/cilk++/
32   # Copy the profile bashrc
33   mkdir -p $startdir/pkg/etc/profile.d/
34   cp $startdir/src/cilk++.sh $startdir/pkg/etc/profile.d/